Not only is PHP syntax sometimes not intuitive *ahem foreach loop*, it is sometimes just completely out of this world.
Why does the iterable come first in a foreach loop??? |
I'm learning about variables and apparently you can, for lack of a better term, nest them. I'm not sure why you would ever need to do something so bizarre, except for kicks and giggles.
Valid PHP |
Also valid PHP |
Comments
Post a Comment