ID:               49644
 User updated by:  iddover at gmail dot com
 Reported By:      iddover at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Strings related
 Operating System: Centos 5.2
 PHP Version:      5.3.0
 New Comment:

I think is not the only case, 

http://cms.tempel.es/merda.eml.txt


Previous Comments:
------------------------------------------------------------------------

[2009-09-23 16:20:59] j...@php.net

And what might that file contain?

------------------------------------------------------------------------

[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

Reply via email to