#23872 [NEW]: reference to same variable(array) crash web server
| From: | Xuefer at 21cn dot com | Date: | Thu, 29 May 2003 12:37:02 +0000 |
| Subject: | #23872 [NEW]: reference to same variable(array) crash web server | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-40638@lists.php.net to get a copy of this message | ||
From: Xuefer at 21cn dot com
Operating system: win2k apache2
PHP version: 4.3.2
PHP Bug Type: Scripting Engine problem
Bug description: reference to same variable(array) crash web server
php4.3.2-rc3
<?php
$times = 65536; // 65535 works fine
$t = array(1);
for ($i = 0; $i < $times; $i ++)
{
$a[] = &$t;
}
?>
crash
--
Edit bug report at http://bugs.php.net/?id=23872&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23872&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23872&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23872&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23872&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23872&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23872&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23872&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23872&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23872&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23872&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23872&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23872&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23872&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23872&r=gnused