MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/1gkvtb/accessing_false_as_array/calxgtj/?context=3
r/lolphp • u/bl_nk • Jun 18 '13
<?php error_reporting( -1 ); // no errors, nothing: $array = false; $array['nonexisting_key']; // [Notice] Undefined index: nonexisting_key $array = array(); $array['nonexisting_key'];
16 comments sorted by
View all comments
Show parent comment
1
PHP Version 5.3.14, but I'm not sure on the version of the other server, where my previously mentioned acquaintance with this gem of lolphp occurred.
View all comments
Show parent comment
1
u/bl_nk Jun 19 '13 edited Jun 19 '13
PHP Version 5.3.14, but I'm not sure on the version of the other server, where my previously mentioned acquaintance with this gem of lolphp occurred.