ID: 49644
Updated by: [email protected]
-Summary: Explode don't esplode in this case
Reported By: iddover at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: Centos 5.2
PHP Version: 5.3.0
New Comment:
And what might that file contain?
Previous Comments:
------------------------------------------------------------------------
[2009-09-23 13:39:24] iddover at gmail dot com
Description:
------------
Explode doesn't works in this case
Reproduce code:
---------------
<?php
$boundary = "--========/4ab98633000bec76/empmaa12.ono.com";
$content = file_get_contents('merda.eml.txt');
print_r( explode($boundary, $content));
?>
Expected result:
----------------
To explode into array?
Actual result:
--------------
Array with only 1 element
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49644&edit=1