|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-12-28 13:33 UTC] mfischer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 07:00:01 2025 UTC |
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"); ?>