PHP 4.0 Bug #8064 Updated: split("\.", blah) causes crash
| From: | sniper@php.net | Date: | Sun, 31 Dec 2000 00:37:09 +0000 |
| Subject: | PHP 4.0 Bug #8064 Updated: split("\.", blah) causes crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42680@lists.php.net to get a copy of this message | ||
ID: 8064
Updated by: sniper
Reported By: svanegmond@home.com
Old-Status: Feedback
Status: Closed
Bug Type: PHP options/info functions
Assigned To:
Comments:
No feedback and can not reproduce.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-07 03:46:37] sniper@php.net
Try increasing the memory_limit directive in your php.ini file.
--Jani
---------------------------------------------------------------------------
[2000-12-04 08:50:28] sniper@php.net
I can not reproduce this with PHP 4.0.4RC3.
Could you please try it:
http://www.php.net/distributions/php-4.0.4RC3.tar.gz
--Jani
---------------------------------------------------------------------------
[2000-11-30 20:39:55] svanegmond@home.com
source code:
<?
$str = "hello.there";
print $str;
$arr = split(".", $str);
print $arr[0];
?>
result:
hello.there
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35
bytes) in /home/svanegmond/
www/bang.dhs.org/docs/demobug.php on line 4
URL for source: http://raw.bang.dhs.org/demobug.php
URL for runtime: http://bang.dhs.org/demobug.php
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8064