3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $; $e = error_get_last(); if($e !== null) { echo 'asas'; $e['type'] = isset($e['type']) ? $e['type'] : 0; $e['message'] = isset($e['message']) ? $e['message'] : ''; $e['file'] = isset($e['file']) ? $e['file'] : ''; $e['line'] = isset($e['line']) ? $e['line'] : ''; buildError($e); }
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected ';', expecting variable (T_VARIABLE) or '$' in /in/Qr34g on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected ';', expecting T_VARIABLE or '$' in /in/Qr34g on line 2
Process exited with code 255.