3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php try { print 'test'; throw new Rbac_Exception('this is a test'); } catch Rbac_Exception($e) { print $e->getMessage(); }
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected 'Rbac_Exception' (T_STRING), expecting '(' in /in/ID8t2 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_STRING, expecting '(' in /in/ID8t2 on line 5
Process exited with code 255.