3v4l.org

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