3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function test() { return "ok"; } echo "test1 = ", test(), ", test2 = ", test(), "\n"; echo "test3 = ", var_export(is_null(null), true), ", test4 = ", var_export(true, true), "\n";
based on sDUoa
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
test1 = ok, test2 = ok test3 = true, test4 = true