3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Qq { } class Ww wxtends Qq { } var_dump(is_subclass_of('Ww', 'Qq')); var_dump(is_subclass_of('Qq', 'Qq'));
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected 'wxtends' (T_STRING), expecting '{' in /in/gfd8l on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING, expecting '{' in /in/gfd8l on line 7
Process exited with code 255.