3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpvar_dump(empty($arr[$key]));$arr = array();var_dump(empty($arr[$key]));
based on hPkA5
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function phpvar_dump() in /in/K6efh:1 Stack trace: #0 {main} thrown in /in/K6efh on line 1
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: <?php directive must be followed by whitespace, newline, or EOF (Line: 1, Char: 5) syntax error, unexpected T_HH_ERROR, expecting $end in /in/K6efh on line 1
Process exited with code 255.
Output for 5.4.34 - 5.6.28
Fatal error: Call to undefined function phpvar_dump() in /in/K6efh on line 1
Process exited with code 255.
Output for 4.3.0 - 5.4.32
<?phpvar_dump(empty($arr[$key]));$arr = array();var_dump(empty($arr[$key]));