ID: 45803
Updated by: [email protected]
Reported By: abhijitkolas at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Arrays related
Operating System: Windows XP, 2003
PHP Version: 5.2.6
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
See http://www.php.net/manual/en/ini.core.php#ini.memory-limit
Previous Comments:
------------------------------------------------------------------------
[2008-08-13 01:34:10] abhijitkolas at hotmail dot com
Description:
------------
The following error is encountered:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 16 bytes) in F:\jtweb\a.php on line 1
Reproduce code:
---------------
<?php for ($x=0;$x<8000000;$x++) $a[] = 'aaaaaa'; echo 'a'; ?>
Expected result:
----------------
'a' should be output.
Actual result:
--------------
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 16 bytes) in F:\jtweb\a.php on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45803&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.