Re: [PHP-DEV] is_subclass_of() patch

2002-01-30 Thread Andi Gutmans
Sounds OK to me although it might be confusing with the name of this function. Andi On Tue, 29 Jan 2002, Andrei Zmievski wrote: Right now is_subclass_of() will return false if the object is exactly of the class you are trying to test for. I propose the following patch: ---

Re: [PHP-DEV] is_subclass_of() patch

2002-01-30 Thread Andrei Zmievski
On Wed, 30 Jan 2002, Andi Gutmans wrote: Sounds OK to me although it might be confusing with the name of this function. Yes. I have something in mind for ZE2 - I'll work up a patch and send it to you. -Andrei Any sufficiently advanced bug is indistinguishable from a feature.

[PHP-DEV] is_subclass_of() patch

2002-01-29 Thread Andrei Zmievski
Right now is_subclass_of() will return false if the object is exactly of the class you are trying to test for. I propose the following patch: --- zend_builtin_functions.c2002/01/06 15:21:09 1.107 +++ zend_builtin_functions.c2002/01/29 21:02:05 @@ -553,5 +553,5 @@