3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class BaseExample { public static function __callStatic($name, array $arguments) { echo "Calling static method '$name' \n"; } public function __call($name, array $arguments) { echo "Calling object method '$name' \n"; } } class Example extends BaseExample { public function __construct() { Example::test(); static::test(); (new Example)->test(); $this->test(); } } $u = new Example();

Abusive script

This script was stopped while abusing our resources