[PHP-DEV] PHP 4.0 Bug #8064: split("\.", blah) causes crash From: svanegmond <email protected>
Date: 11/30/00

From: svanegmond <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>