MemoryTrap Bench

Seventeen questions about memory in PHP arrays, Go maps and goroutine stacks. Pick an answer first. Then the page shows what a harness measured on real runtime versions, and which rule of thumb it broke.

No runtime version is given in the question, the same way the models saw it in the cold condition. When the measured answer changes between versions, the right answer is the version option. Sizes are binary: 1 MB = 1,048,576 bytes.

Your guesses: 0 right of 0 answered, to go.