3v4l.org

run code in 300+ PHP versions simultaneously
<?php const A = 'b::c'; class B { static function C() { echo __METHOD__; } } //valid call to \B::C() constant('A')(); // class A not found //new A; // Call to undefined function A() A(); // parse error, this is not supported //{A}();

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
148.44 ms | 1467 KiB | 9 Q