note 110684 added to function.explode
| From: | davey179 at gmail dot com | Date: | Thu, 22 Nov 2012 14:18:57 +0000 |
| Subject: | note 110684 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192077@lists.php.net to get a copy of this message | ||
In response to kkobashi at kobashicomputing dot com's post, I disagree that the results of
explode are incorrect. Explode is behaving exactly as I would expect - "/a/" separated by
"/" does indeed have 3 parts, just the same as a CSV string with empty parts would still
have those parts counted. Anything else would have confused me greatly.
----
Server IP: 69.147.83.199
Probable Submitter: 94.175.227.58
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit -- https://master.php.net/note/edit/110684
Del: integrated -- https://master.php.net/note/delete/110684/integrated
Del: useless -- https://master.php.net/note/delete/110684/useless
Del: bad code -- https://master.php.net/note/delete/110684/bad+code
Del: spam -- https://master.php.net/note/delete/110684/spam
Del: non-english -- https://master.php.net/note/delete/110684/non-english
Del: in docs -- https://master.php.net/note/delete/110684/in+docs
Del: other reasons-- https://master.php.net/note/delete/110684
Reject -- https://master.php.net/note/reject/110684
Search -- https://master.php.net/manage/user-notes.php