PHP 4.0 Bug #8064: split("\.", blah) causes crash
| From: | svanegmond at home dot com | Date: | Fri, 01 Dec 2000 01:39:55 +0000 |
| Subject: | PHP 4.0 Bug #8064: split("\.", blah) causes crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39744@lists.php.net to get a copy of this message | ||
From: svanegmond@home.com
Operating system: debian woody
PHP version: 4.0.3pl1
PHP Bug Type: Reproduceable crash
Bug description: split("\.", blah) causes crash
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
--
Edit Bug report at: http://bugs.php.net/?id=8064&edit=1