On Sat, Jan 25, 2003 at 01:00:53AM +0100, Vaclav Dvorak wrote:
> When I try to compare two "child" objects, PHP says: "Fatal error: 
> Nesting level too deep - recursive dependency?". Well, yes, it _is_ a 
> recursive dependency, but I don't see why PHP could not compare those 
> objects anyway? Isn't it possible to tell whether two "names" reference 
> the same "variable"? In fact, I'm comparing two references to the very 
> same object, so the comparison could stop right there and not compare 
> any members of the object.

Are you trying it with ZE2? Compare those objects with "===" not "==".
You'll get the exact result you've expected to see, I suppose.

Moriyoshi

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

Reply via email to