3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { function __construct(){echo 'a';} } // new ${!${''}='Test'}; new ${!${1}='Test'};
based on I9bme
Output for 7.0.0 - 7.2.0
Notice: Undefined variable: in /in/lAWki on line 9 Fatal error: Uncaught Error: Class name must be a valid object or a string in /in/lAWki:9 Stack trace: #0 {main} thrown in /in/lAWki on line 9
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Notice: Undefined variable: in /in/lAWki on line 9 Fatal error: Class name must be a valid object or a string in /in/lAWki on line 9
Process exited with code 255.