3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = $b; var_dump(error_get_last());
Output for 5.2.0 - 7.1.0
Notice: Undefined variable: b in /in/JRAr5 on line 3 array(4) { ["type"]=> int(8) ["message"]=> string(21) "Undefined variable: b" ["file"]=> string(9) "/in/JRAr5" ["line"]=> int(3) }
Output for 5.0.4 - 5.1.6
Notice: Undefined variable: b in /in/JRAr5 on line 3 Fatal error: Call to undefined function error_get_last() in /in/JRAr5 on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: b in /in/JRAr5 on line 3 Fatal error: Call to undefined function error_get_last() in /in/JRAr5 on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Undefined variable: b in /in/JRAr5 on line 3 Fatal error: Call to undefined function: error_get_last() in /in/JRAr5 on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Undefined variable: b in /in/JRAr5 on line 3 Fatal error: Call to undefined function: error_get_last() in /in/JRAr5 on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: b in /in/JRAr5 on line 3 Fatal error: Call to undefined function: error_get_last() in /in/JRAr5 on line 4