Bug #14743 Updated: infite method calls

From: Date: Fri, 28 Dec 2001 18:33:23 +0000
Subject: Bug #14743 Updated: infite method calls
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-75213@lists.php.net to get a copy of this message
ID: 14743 Updated by: mfischer Reported By: cox@idecnet.com 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] cox@idecnet.com 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

« previous php.dev (#75213) next »