<?php class A{ private function __invoke(){ return 'Object called as a function'; } } $w = new A(); echo $w->__invoke(); var_export($w);
You have javascript disabled. You will not be able to edit any code.