3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(""); var_dump("0"); var_dump(0); var_dump(array()); class Test {} $t = new Test(); var_dump($t);
based on 89vVC
Output for 5.0.0 - 7.1.0
string(0) "" string(1) "0" int(0) array(0) { } object(Test)#1 (0) { }
Output for 4.3.0 - 4.4.9
string(0) "" string(1) "0" int(0) array(0) { } object(test)(0) { }