#23872 [Opn->WFx]: reference to same variable(array) crash web server
| From: | wez@php.net | Date: | Thu, 29 May 2003 12:51:38 +0000 |
| Subject: | #23872 [Opn->WFx]: reference to same variable(array) crash web server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40639@lists.php.net to get a copy of this message | ||
ID: 23872
Updated by: wez@php.net
Reported By: Xuefer at 21cn dot com
-Status: Open
+Status: Wont fix
Bug Type: Scripting Engine problem
Operating System: win2k apache2
PHP Version: 4.3.2
New Comment:
That breaks - don't do it :)
It won't be fixed in 4.x; PHP 5 will (and does) handle it though.
Previous Comments:
------------------------------------------------------------------------
[2003-05-29 07:37:02] Xuefer at 21cn dot com
php4.3.2-rc3
<?php
$times = 65536; // 65535 works fine
$t = array(1);
for ($i = 0; $i < $times; $i ++)
{
$a[] = &$t;
}
?>
crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23872&edit=1