|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-27 21:43 UTC] zak@php.net
[2000-09-04 22:31 UTC] sniper@php.net
[2000-09-06 17:18 UTC] sniper@php.net
[2000-10-02 22:20 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 14:00:01 2025 UTC |
Hi, here is a little piece of code that will crash php. Of course I know that this is because I remove the object itself, but I guess, PHP is supposed to keep running anyway!? I used PHP4.0.1PL2 on windows NT4.0 to do this. Would you like this sort of stuff to be reported as an error? Will you be able to fix it? Regards, Andr? <? // Crude piece of code to show a way to make PHP run into an // access violation. (C) 20000708 by Andre Varney (avarney@mediatec-online.de) Class MONSTER { function MONSTER() { $GLOBALS["xalias"] = &$this; } function kill() { unset($GLOBALS["xalias"]); } } $x=new MONSTER; $xalias->kill(); print "that's it"; ?>