3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = $b; print_r(error_get_last());
Output for 5.2.0 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: b in /in/6vn5e on line 2 Array ( [type] => 8 [message] => Undefined variable: b [file] => /in/6vn5e [line] => 2 )
Output for 5.0.4 - 5.1.6
Notice: Undefined variable: b in /in/6vn5e on line 2 Fatal error: Call to undefined function error_get_last() in /in/6vn5e on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: b in /in/6vn5e on line 2 Fatal error: Call to undefined function error_get_last() in /in/6vn5e on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Notice: Undefined variable: b in /in/6vn5e on line 2 Fatal error: Call to undefined function: error_get_last() in /in/6vn5e on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Undefined variable: b in /in/6vn5e on line 2 Fatal error: Call to undefined function: error_get_last() in /in/6vn5e on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: b in /in/6vn5e on line 2 Fatal error: Call to undefined function: error_get_last() in /in/6vn5e on line 3