Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-20 Thread Curt Zirzow
* Thus wrote Francisco M. Marzoa Alonso: > This code: > > > class TestClass { > public $myself; > > function __construct () { > $this->myself = $this; > } > } > > $TestObj = new TestClass (); > > if ( $TestObj->myself == $TestObj ) { > echo "They are same.\n"; > } Sin

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa
Brent Baisley wrote: I was looking at this before and I'm not even sure what you are trying to do. For one, you are testing to see if the contents of a class variable are equal to a class instance: $TestObj->myself == $TestObj Which seems a logic equivalent to: $TestObj->myself == TestClass()

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Brent Baisley
I was looking at this before and I'm not even sure what you are trying to do. For one, you are testing to see if the contents of a class variable are equal to a class instance: $TestObj->myself == $TestObj Which seems a logic equivalent to: $TestObj->myself == TestClass() ??? And in your class

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa Alonso
Ah, OK thanks for your advice Chris. Chris Dowell wrote: Francisco You really need to post this to [EMAIL PROTECTED] - this list is for us lowly users of PHP, the developers and maintainers of the language have their own list. Cheers Chris Francisco M. Marzoa Alonso wrote: Can someone tell me if

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Chris Dowell
Francisco You really need to post this to [EMAIL PROTECTED] - this list is for us lowly users of PHP, the developers and maintainers of the language have their own list. Cheers Chris Francisco M. Marzoa Alonso wrote: Can someone tell me if I should fill a bug report about this or is it my fault

Re: [PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa Alonso
Can someone tell me if I should fill a bug report about this or is it my fault??? Francisco M. Marzoa Alonso wrote: This code: class TestClass { public $myself; function __construct () { $this->myself = $this; } } $TestObj = new TestClass (); if ( $TestObj->myself == $TestObj

[PHP] Nesting level too deep - recursive dependency?

2004-10-18 Thread Francisco M. Marzoa Alonso
This code: class TestClass { public $myself; function __construct () { $this->myself = $this; } } $TestObj = new TestClass (); if ( $TestObj->myself == $TestObj ) { echo "They are same.\n"; } ?> Gives me a "Fatal error: Nesting level too deep - recursive dependency?" on lin

[PHP] Nesting level too deep

2003-01-26 Thread Sascha Alexander Jopen
Hi, i installed php-4.3.0 on apache 2.0.34. but whenever i try to display a php script i got a PHP Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0 Even the simplest document leads to this error: index.php i know these scripts worked fine with php-4.3.2 today i