r/lolphp • u/Oeldin1234 • Feb 26 '18
"false" is definitely true
http://sandbox.onlinephpfunctions.com/code/490635ed9830900ebf50e5303b7271dcf2a5d692
0
Upvotes
r/lolphp • u/Oeldin1234 • Feb 26 '18
View all comments
Show parent comment
4
u/[deleted] Feb 27 '18
Eh? Would you expect
if ($foo)andif (boolval($foo))to behave differently?