|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-06-20 17:34 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 22:00:01 2025 UTC |
class a { function a() { if(!isset($GLOBALS["b"])) { echo "loading b"; $GLOBALS["b"] = new b(); } } } class b { function b() { if(!isset($GLOBALS["a"])) { echo "loading a"; $GLOBALS["a"] = new a(); } } } # creates an infinite loop new a();