ID: 10574 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Arrays related Operating system: WIN NT4 PHP Version: 4.0.5 Description: Gets stuck on explode() when delimiter is not in the string 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. Previous Comments: --------------------------------------------------------------------------- [2001-05-07 12:42:38] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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. --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=10574 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]