<?php function foo($x){ echo "foo is called" . PHP_EOL; } class Foo { function bar($x) { echo "bar is called" . PHP_EOL; } } foo(10, 20); (new Foo())->bar(20, 30);
You have javascript disabled. You will not be able to edit any code.