3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $intzero = 0; $stringzero = "0"; echo "Intzero: ".print_r(empty($intzero),1)."\n"; echo "Stringzero: ".print_r(empty($stringzero),1)."\n";
based on PhpJK
Output for 4.3.0 - 7.2.0
Intzero: 1 Stringzero: 1