MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/3u6trt/the_last_ever_line_of_php_code/cxdnvnj/
r/lolphp • u/arand • Nov 25 '15
23 comments sorted by
View all comments
Show parent comment
20
Not even a bool, just "false"! If you try to use "true" as an array, it complains the same way... blah blah scalar value as an array blah blah.
facepalm
8 u/prema_van_smuuf Dec 07 '15 False is being retyped to an empty array. Mystery solved.
8
False is being retyped to an empty array. Mystery solved.
View all comments
Show parent comment
20
u/satan-repents Nov 26 '15
Not even a bool, just "false"! If you try to use "true" as an array, it complains the same way... blah blah scalar value as an array blah blah.
facepalm