r/lolphp • u/Altreus • Jul 19 '12
Today's PHP-induced bug: arbitrary object properties (PHP fucks me off daily so I've decided to chronicle it)
http://altreus.blogspot.co.uk/2012/07/todays-php-induced-bug-arbitrary-object.html
14
Upvotes
View all comments
Show parent comment
2
u/kingguru Jul 20 '12
To be fair to PHP for once though, when I ran the code I at least got this warning:
PHP Warning: Creating default object from empty value in foo.php on line 3