|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-21 14:54 UTC] php at codewhore dot org
[2003-02-22 05:24 UTC] max at tvattomaten dot com
[2003-02-22 14:18 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 20:00:02 2025 UTC |
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