note 109517 deleted from function.explode by danbrown
| From: | danbrown@php.net | Date: | Mon, 30 Jul 2012 15:54:21 +0000 |
| Subject: | note 109517 deleted from function.explode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189499@lists.php.net to get a copy of this message | ||
Note Submitter: paul at norbealun dot id dot au
----
kkobashi, explode is behaving as documented; if there are empty fields in the source text you will
get empty elements in your array.
If you want to skip empty fields, consider strtok().