3v4l.org

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