|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-24 19:27 UTC] [email protected]
[2012-07-25 13:40 UTC] [email protected]
[2012-07-25 15:54 UTC] [email protected]
-Summary: unset(array($foo)) crashes apache depending on $foo
+Summary: unset($array[$float]) causes a crash
[2012-07-25 15:55 UTC] [email protected]
[2012-07-25 15:55 UTC] [email protected]
-Package: Apache2 related
+Package: Scripting Engine problem
[2012-07-25 16:48 UTC] [email protected]
[2012-07-26 02:16 UTC] [email protected]
[2012-07-26 02:26 UTC] [email protected]
[2012-07-26 05:53 UTC] [email protected]
[2012-07-26 05:56 UTC] [email protected]
[2012-07-26 05:57 UTC] [email protected]
[2012-07-26 05:57 UTC] [email protected]
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: laruence
[2012-07-26 15:35 UTC] smithrn at rose-hulman dot edu
[2014-10-07 23:23 UTC] [email protected]
[2014-10-07 23:34 UTC] [email protected]
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 11:00:02 2025 UTC |
Description: ------------ The test code crashes apache in the 5.4+ environment. $foo starts as a string, gets interpreted as a double but it isn't I guess. unset($array[(double) $foo]) works as expected Test script: --------------- $array = array("5"=>"bar"); $foo = "10.0000"; // gettype($foo) = "string" $foo /= 2; //Makes $foo = 5 but still gettype($foo) = "double" unset($array[$foo]); print_r($array); Expected result: ---------------- Array() Actual result: -------------- Error 101 (net::ERR_CONNECTION_RESET): The connection was reset.