php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8064 split("\.", blah) causes crash
Submitted: 2000-11-30 20:39 UTC Modified: 2000-12-30 19:37 UTC
From: svanegmond at home dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.3pl1 OS: debian woody
Private report: No CVE-ID: None
 [2000-11-30 20:39 UTC] svanegmond at home dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-04 08:50 UTC] 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-12-07 03:46 UTC] sniper@php.net
Try increasing the memory_limit directive in your php.ini file.

--Jani
 [2000-12-30 19:37 UTC] sniper@php.net
No feedback and can not reproduce. 

--Jani
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 16:01:27 2019 UTC