3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public static function myStaticFunction() { echo "I'm declared static! Calling me statically works great.\n"; } public function myNonStaticFunction() { echo "I'm not static, if you try to call me statically you'll get a deprecated warning\n"; } public function __callStatic($name, $args) { echo 123;exit; } } foo::myStaticFunction(); foo::myNonStaticFunction();

This is an error 404

There are `0` results


preferences:
176.71 ms | 1399 KiB | 7 Q