* 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
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()
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
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
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
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
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
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
8 matches
Mail list logo