<?php class X { function foo() { print __METHOD__.PHP_EOL; print __CLASS__.PHP_EOL; print __FUNCTION__.PHP_EOL; } } (new x)->foo(); function foo() { print __METHOD__.PHP_EOL; print __CLASS__.PHP_EOL; print __FUNCTION__.PHP_EOL; } foo();
You have javascript disabled. You will not be able to edit any code.