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();
based on 2oLZ1
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function testTest() in /in/St6Ln:6 Stack trace: #0 {main} thrown in /in/St6Ln on line 6
Process exited with code 255.
Output for 5.4.0 - 7.0.20
test