ID: 14743
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4.1.0
New Comment:

And still there's nothing PHP can do about it (this has been discussed in the past a 
few times). Bogus.

Previous Comments:
------------------------------------------------------------------------

[2001-12-28 13:19:53] [EMAIL PROTECTED]

This script (stupid) makes php crash. I know is a fail of the developer but still a 
crash.
<?php
class foo {
    var $a = "orig value";
    
    function register() {
        $bar =& $this;
        $bar->updateA('new value');
    }
    
    function updateA($val) {
        $this->register();
        $this->a = $val;
    }
}

$foo = new Foo;
$foo->updateA("new value");

?>

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14743&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to