Re: [PHP-DEV] on the subject of overloading: __call()

2002-11-18 Thread Stanislav Malyshev
BB>> but there is no way to make equivalent calls using call_user_func() BB>> or call_user_func_array(). you can't use "parent::a_method", BB>> array($this,'parent::a_method'), array(parent,"a_method"), BB>> or array('parent',"a_method"). if you use the literal class name, BB>>call_user_func_ar

Re: [PHP-DEV] on the subject of overloading: __call()

2002-11-17 Thread Brad Bulger
On Sun, 17 Nov 2002, Stanislav Malyshev wrote: > BB>> related topic: in the current state of ze2, there are several ways to > BB>> call methods directly that can't be emulated by call_user_func() - > BB>> calling self::method() for instance, or the visibility of $this if > BB>> you call class::met

Re: [PHP-DEV] on the subject of overloading: __call()

2002-11-17 Thread Stanislav Malyshev
BB>> related topic: in the current state of ze2, there are several ways to BB>> call methods directly that can't be emulated by call_user_func() - BB>> calling self::method() for instance, or the visibility of $this if BB>> you call class::method(). is that likely to stay true? Since __call is the

[PHP-DEV] on the subject of overloading: __call()

2002-11-15 Thread Brad Bulger
was there discussion about the interaction of __call() and methods which declaring their arguments as references? there's no way at present to make this work, as far as i can tell. seems like it could just be a documented limitation, but i thought i'd check. related topic: in the current state of