Cristian Rodríguez wrote:
Diogo Neves escribió:Hi all,I'm emailling to ask why __call isn't called when you call a private method from outside of function...Please provide example code ;-)
He means this:
class foo {
private function bar() { }
function __call($f,$a) {
echo "called $f";
}
}
$a = new foo;
$a->bar();
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
