3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php class InputException extends Exception{ public function __construct($message = "Inputexception occured", $code = 0) { //'Parent Constructor is called with wrong number of arguments' parent::__construct($message, $code); } } throw new InputException();
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected '<' in /in/VOlle on line 3
Process exited with code 255.