3v4l.org

run code in 300+ PHP versions simultaneously
<?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.3.28, 5.4.0 - 5.4.24
Parse error: syntax error, unexpected '<' in /in/VOlle on line 3
Process exited with code 255.

preferences:
178.69 ms | 1395 KiB | 61 Q