note 109686 deleted from function.explode by danbrown
| From: | danbrown@php.net | Date: | Fri, 10 Aug 2012 16:06:14 +0000 |
| Subject: | note 109686 deleted from function.explode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189988@lists.php.net to get a copy of this message | ||
Note Submitter: jorgex0 dot o at gmail dot com
----
Kobashi, explode function isn't wrong.
If you have the string "/" you actually have 2 empty strings delimited by Beginning of
line until / and from / until End of Line.
It's the same as "asd/asd", "/".
If you have "//", you have 3 empty strings.