note 59359 deleted from function.split by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 14:54:56 +0000 |
| Subject: | note 59359 deleted from function.split by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-197231@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Be advised
$arr = split("x", "x" );
print_r($arr);
will output:
Array
(
[0] =>
[1] =>
)
That is it will catch 2 empty strings on each side of the delimiter.