3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace NamespaceOne { class Test { public function test(){ $test = new Test; $test->standard_function(Other::static_function()); } public function standard_function($test){} } } namespace NamespaceTwo { class Other { public static function static_function(){} } } namespace { function simple(){ throw new Exception; } spl_autoload_register('simple'); $test = new \NamespaceOne\Test; $test->test(); }

preferences:
23.96 ms | 474 KiB | 4 Q