- Output for 5.3.0 - 5.3.20, 5.4.0 - 5.4.10
- Parse error: syntax error, unexpected '{' in c2jcS on line 2
Process exited with code 255.
<?php
class_exists('Exception') || { class Exception {} }
class MyClass
{
public function __construct() { throw new Exception; }
public function __destruct() { echo "destruct\n"; }
}
try { $a = new MyClass; } catch (Exception $e) {}