note 110684 deleted from function.explode by googleguy

From: Date: Thu, 22 Nov 2012 16:41:01 +0000
Subject: note 110684 deleted from function.explode by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-192084@lists.php.net to get a copy of this message
Note Submitter: davey179 at gmail dot com ---- 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.

« previous php.notes (#192084) next »