3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpvar_dump(['foo' => 5, 'bar' => 6, 'foo' => 7]);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function phpvar_dump() in /in/aaZ9X:1 Stack trace: #0 {main} thrown in /in/aaZ9X 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/aaZ9X 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/aaZ9X on line 1
Process exited with code 255.
Output for 4.3.0 - 5.4.32
<?phpvar_dump(['foo' => 5, 'bar' => 6, 'foo' => 7]);