3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Hello { public static function growl() { echo "Uggrrrr~\n"; } } Hello?><b>here</b><?php::/*def*/growl(); ?>
based on 4KCAD
Output for 7.2.0
Warning: Use of undefined constant Hello - assumed 'Hello' (this will throw an Error in a future version of PHP) in /in/q9mTr on line 11 <b>here</b> Fatal error: Uncaught Error: Class 'php' not found in /in/q9mTr:11 Stack trace: #0 {main} thrown in /in/q9mTr on line 11
Process exited with code 255.
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant Hello - assumed 'Hello' in /in/q9mTr on line 11 <b>here</b> Fatal error: Uncaught Error: Class 'php' not found in /in/q9mTr:11 Stack trace: #0 {main} thrown in /in/q9mTr on line 11
Process exited with code 255.
Output for 5.4.9 - 5.6.21
Notice: Use of undefined constant Hello - assumed 'Hello' in /in/q9mTr on line 11 <b>here</b> Fatal error: Class 'php' not found in /in/q9mTr on line 11
Process exited with code 255.
Output for 5.3.19 - 5.3.29
Notice: Use of undefined constant Hello - assumed 'Hello' in /in/q9mTr on line 11 <b>here</b><?php::/*def*/growl(); ?>