3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $babies = FALSE; if (sizeof($babies)) { var_dump(TRUE); } else { var_dump(FALSE); }
Output for 7.2.0
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /in/9Hgg1 on line 3 bool(true)
Output for 4.3.0 - 7.1.10
bool(true)