Values and memory
What a PHP value is made of, what it costs to hold one, and when the engine decides to copy it.
1 parts · Read in order
1What a PHP variable actually is
A zval is sixteen bytes, a value union and a type tag. What that tag says decides whether an assignment copies anything, what a reference costs, and which variable pays.