On Tue, 31 Aug 2004, Andi Gutmans wrote:

> Hi Christian,
>
> This was a backwards compatibility issue and therefore, we made sure that
> PHP 5 behaves the same way as PHP 4. So if both objects are PHP objects it
> will do a PHP 4 object comparison.
> If you use === (is identical) then we will only compare handles unless in
> zend1.compatibility_mode.
> This should give people the best of both worlds being able to choose
> comparison (==) or strict identical (===).

Yup, and making this backward compatible was done after I wrote those
slides ;-)

Derick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to