3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); print("Errors are OFF\n"); eval("abstract class AbstractMethodStaticLoader1 { public static abstract function loadMetadata(); }"); eval("static abstract function loadMetadata1();"); print("Errors are ON\n"); error_reporting(E_STRICT); eval("abstract class AbstractMethodStaticLoader2 { public static abstract function loadMetadata(); }"); eval("static abstract function loadMetadata2();");
based on W3NHm
Output for 7.0.0 - 7.1.0
Errors are OFF
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Errors are OFF Errors are ON
Output for 5.4.11 - 5.6.28
Errors are OFF Errors are ON Strict Standards: Static function AbstractMethodStaticLoader2::loadMetadata() should not be abstract in /in/rnu0T(10) : eval()'d code on line 1
Output for 5.2.0 - 5.4.10
Errors are OFF Errors are ON Strict Standards: Static function AbstractMethodStaticLoader2::loadMetadata() should not be abstract in /in/rnu0T(10) : eval()'d code on line 1
Process exited with code 255.
Output for 4.3.0 - 5.1.6
Errors are OFF Errors are ON
Process exited with code 255.