note 40125 added to function.join

From: Date: Sun, 22 Feb 2004 18:34:53 +0000
Subject: note 40125 added to function.join
Groups: php.notes 
Request: Send a blank email to php-notes+get-65546@lists.php.net to get a copy of this message
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). ---- Manual Page -- http://www.php.net/manual/en/function.join.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40125 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40125&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40125&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65546) next »