From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.1.0
PHP Bug Type: Reproducible crash
Bug description: infite method calls
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 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]