3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class ParentClass { public function __construct(...$args) { print 'Parent: ' . count($args) . PHP_EOL; } } class ChildClass extends ParentClass { public function __construct(...$args) { parent::__construct(...$args); print 'Child: ' . count($args). PHP_EOL; } } $child = new ChildClass(1, 2, 3, new gjfdcxyrfdyr);
based on csJ68
Output for 7.0.30 - 7.3.0beta1
Fatal error: Uncaught Error: Class 'gjfdcxyrfdyr' not found in /in/4Vsrb:16 Stack trace: #0 {main} thrown in /in/4Vsrb on line 16
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught Error: Class undefined: gjfdcxyrfdyr in /in/4Vsrb:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Fatal error: Uncaught Error: Class undefined: gjfdcxyrfdyr in /in/4Vsrb:16 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.30
Fatal error: Class 'gjfdcxyrfdyr' not found in /in/4Vsrb on line 16
Process exited with code 255.