PHP 4.0 Bug #10574 Updated: Gets stuck on explode() when delimiter is not in the string
| From: | xyztheweb at hotmail dot com | Date: | Thu, 03 May 2001 18:21:23 +0000 |
| Subject: | PHP 4.0 Bug #10574 Updated: Gets stuck on explode() when delimiter is not in the string | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53678@lists.php.net to get a copy of this message | ||
ID: 10574
User Update by: xyztheweb@hotmail.com
Status: Open
Bug Type: Arrays related
Description: Gets stuck on explode() when delimiter is not in the string
Maybe is a bug related to WIN NT ?
Do you need more info about the settings of my phpinfo() ?
Previous Comments:
---------------------------------------------------------------------------
[2001-05-02 23:19:23] sniper@php.net
I can't reproduce this with latest CVS on Linux using
the following test script:
<?php
$str = "this test string doesnt include the separator char";
$arr = explode(";", $str);
?>
--Jani
---------------------------------------------------------------------------
[2001-05-01 06:23:12] xyztheweb@hotmail.com
If I perform an
explode(",",$str);
on
$str = "hi there this is a test";
Php gets "stuck" and can eventually bing the memroy of the server down.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10574