3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test($val) { $retVal = var_export(empty($val), true); printf("%s: %s\n", $val, $retVal); } test(0); test(''); test(null); test(false);
based on 15QbZ
Output for 4.3.0 - 7.2.0
0: true : true : true : true