#22361 [Opn]: Endless loop causes windows to reboot

From: Date: Sat, 22 Feb 2003 11:24:14 +0000
Subject: #22361 [Opn]: Endless loop causes windows to reboot
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-33910@lists.php.net to get a copy of this message
ID: 22361 User updated by: max at tvattomaten dot com Reported By: max at tvattomaten dot com Status: Open Bug Type: Class/Object related Operating System: windows xp, sp1 PHP Version: 4.3.1 New Comment: I've been thinking about reinstalling win xp for some time now but I hate reinstalling all my software and reconfiguring. I know that there is something fishy with my xp but this is the only time it actually reboots. That's why I still think it may be an issue that may be interesting to fix. Previous Comments: ------------------------------------------------------------------------ [2003-02-21 14:54:17] php at codewhore dot org Check your hardware for stability. PHP cannot possibly cause windows to reboot without either a major kernel bug in windows or faulty hardware. ------------------------------------------------------------------------ [2003-02-21 13:50:22] max at tvattomaten dot com Hi! I've noticed that this buggy code causes a windows xp crash and reboot: ******* class A { var Object; function A(){ $this->Object = new B(); } } class B { var Object; function B(){ $this->Object = new A(); } } **** and then running: $myObject = new B(); *********************** I figure that first of all this should not result in that windows reboots. Second I wouldn't mind if with the notices turned on it should report a notice for this error (I can't be the only one that's done this). At least there should be such a check for the constructor since it seems that I can't learn from my previous mistakes :-D Thanks for great software! //Max Gordon PS. I'm running latest version of apache 2 DS ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22361&edit=1

« previous php.bugs (#33910) next »