hi there..I keep getting this error:
Fatal error: Nesting level too deep - recursive dependency? in /*file*.php on line 14580
in my application...
what im doing is comparing an object to the object in context (sorry for my wording....didn't get sleep for a while =( )...something like the following:
class Bar {
function Bar () {}
function equals (&$object) {
return $this==$object;
}
}
$foo=new Bar();
$foo->equals($foo); // error comes up here
well ... it's a composition of /simple/ objects.../nothing/ which could end up in a recursion stack overflow...or what ever it is called in PHP...somebody had a problem like this ? is there a limit setting for the nesting level I can pitch up in PHP ? (its called on a somewhat deeper stack level) ...or is it a bug someone heard of ?
thx for your help...I'm about to go crazy =(