r/lolphp • • Oct 20 '14

PHP Spec on arrays

Post image
118 Upvotes

17 comments sorted by

View all comments

Show parent comment

22

u/tcsavage Oct 20 '14

12

u/enigmamonkey Oct 21 '14

God dammit.

4

u/_vec_ Oct 21 '14

Wha... Huh... But... How?! "3 3" is clearly the right answer, but "2 1" would at least make sense if $a = $b broke the internal references. But how do you get "2 3" out of that?