Bug #10574 Updated: Gets stuck on explode() when delimiter is not in the string
| From: | derick@php.net | Date: | Sun, 13 May 2001 19:46:44 +0000 |
| Subject: | 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-55096@lists.php.net to get a copy of this message | ||
ID: 10574
Updated by: derick
Reported By: xyztheweb@hotmail.com
Old-Status: Open
Status: Closed
Bug Type: Arrays related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
User says it's not a bug in PHP
Previous Comments:
---------------------------------------------------------------------------
[2001-05-13 15:22:44] xyztheweb@hotmail.com
You are right this is no bug on explode().
The problem is if you explode into a database (which PHP tends to get stuck on imploding bad
queries).
Thanks for your time on this report, anyway.
---------------------------------------------------------------------------
[2001-05-07 12:42:38] sbergmann@php.net
Can't reproduce this with PHP 4.0.6-dev either, on Win2K. Tested it both from the command-line
with 'php -q test.php', as via Apache.
---------------------------------------------------------------------------
[2001-05-03 15:08:34] andi@php.net
I can't reproduce this on Windows either. Can you please try and run this from command line and
see if it still creates problems? Without any prepends or anything
---------------------------------------------------------------------------
[2001-05-03 14:21:23] xyztheweb@hotmail.com
Maybe is a bug related to WIN NT ?
Do you need more info about the settings of my phpinfo() ?
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10574&edit=2