3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { public function helloWorld(){ echo 'test'; } }; (new Test( testTest() + 8, boo ))->helloWorld(); testTest();
based on St6Ln
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function testTest() in /in/D50lO:6 Stack trace: #0 {main} thrown in /in/D50lO on line 6
Process exited with code 255.
Output for 7.0.0 - 7.0.20
test Fatal error: Uncaught Error: Call to undefined function testTest() in /in/D50lO:9 Stack trace: #0 {main} thrown in /in/D50lO on line 9
Process exited with code 255.
Output for 5.4.8 - 5.6.28
test Fatal error: Call to undefined function testTest() in /in/D50lO on line 9
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/D50lO on line 7
Process exited with code 255.