Hi Andi,
Based on your response to my question on how to compare object equality
properly. While looking through the code, in zend_operators.c in the
is_identical_function, when comparing objects, it uses the same construct I
came up with...
result->value.lval = (Z_OBJ_HANDLE_P(op1) == Z_OBJ_HAND
Agreed.
--Wez.
> Your patch breaks BC in 4.3.x. As the problem has been solved in PHP 5, I
> suggest we don't add the patch and wait for the major version to break BC
> (very slightly).
>
> Andi
>
> At 03:42 PM 10/9/2003 +0100, Wez Furlong wrote:
> >Interestingly enough, I brought up this issue j
L PROTECTED]>
Sent: Wednesday, October 08, 2003 3:21 PM
Subject: [PHP-DEV] Object Equality
> (Note: this email seems to relate to this list in my opinion, but I
> have been chewed out before when posting such emails)
>
> I am using PHP 4.3.2, and it seems that testing objects for equa
inal Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 3:21 PM
Subject: [PHP-DEV] Object Equality
> (Note: this email seems to relate to this list in my opinion, but I
> have been chewed out before when posting such emails)
>
>
On Wed, 2003-10-08 at 10:21, [EMAIL PROTECTED] wrote:
> (Note: this email seems to relate to this list in my opinion, but I
> have been chewed out before when posting such emails)
>
> I am using PHP 4.3.2, and it seems that testing objects for equality
> (with == or ===) causes an in
(Note: this email seems to relate to this list in my opinion, but I
have been chewed out before when posting such emails)
I am using PHP 4.3.2, and it seems that testing objects for equality
(with == or ===) causes an internal bug when the objects have recursive
instance variables. That is, i