note 40125 deleted from function.join by didou
| From: | didou@php.net | Date: | Mon, 31 Jan 2005 09:38:44 +0000 |
| Subject: | note 40125 deleted from function.join by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84267@lists.php.net to get a copy of this message | ||
Note Submitter: ben dash xo at dubplates dot org
----
Be aware that whilst join() is an alias for implode(), split() is NOT an alias for explode().
split() deals with regular expressions where explode() only deals with simple strings, and this
disparity has caused a number of obscure bugs for me in the past.
split() in PHP does not behave exactly like split() in perl (although explode() does).