3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print("Error level was ".error_reporting()."\n"); error_reporting(E_ALL); print("Now error level is ".error_reporting()."\n"); $s = "abstract class AbstractMethodStaticLoader { public static abstract function loadMetadata(); }"; eval($s);
based on COKdh
Output for 7.0.0 - 7.1.0
Error level was -1 Now error level is 32767
Output for hhvm-3.10.0 - 3.12.0
Error level was 8191 Now error level is 32767
Output for 5.4.0 - 5.6.28
Error level was -1 Now error level is 32767 Strict Standards: Static function AbstractMethodStaticLoader::loadMetadata() should not be abstract in /in/E9WBt(7) : eval()'d code on line 1
Output for 5.3.0 - 5.3.29
Error level was -1 Now error level is 30719
Output for 5.2.0 - 5.2.17
Error level was -1 Now error level is 6143
Output for 5.0.0 - 5.1.6
Error level was -1 Now error level is 2047
Output for 4.4.2 - 4.4.9
Error level was -1 Now error level is 2047 Parse error: syntax error, unexpected T_CLASS in /in/E9WBt(7) : eval()'d code on line 1
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Error level was -1 Now error level is 2047 Parse error: parse error, unexpected T_CLASS in /in/E9WBt(7) : eval()'d code on line 1
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Error level was -1 Now error level is 2047 Parse error: parse error in /in/E9WBt(7) : eval()'d code on line 1
Process exited with code 255.