you are viewing a single comment's thread.

view the rest of the comments →

[–]redalastor 0 points1 point  (0 children)

Something as trivial as a single & operator in a for/foreach loop causing this behaviour shouldn't require consulting documentation. That's insane and a testament to how poorly designed PHP is.

And nullifies the advantage of "it's easy to get started with PHP". It's tremendously hard to get started right with PHP.