note 15997 added to function.split

From: Date: Thu, 11 Oct 2001 18:14:17 +0000
Subject: note 15997 added to function.split
Groups: php.notes 
Request: Send a blank email to php-notes+get-18834@lists.php.net to get a copy of this message
The example given above is a little mis-leading. split always treats the split pattern as a regular expression. So, if you do a split(".", $temp) it won't work, do split("\.", $temp) Odd but true. -Roko -- http://www.php.net/manual/en/function.split.php http://master.php.net/manage/user-notes.php?action=edit+15997 http://master.php.net/manage/user-notes.php?action=delete+15997 http://master.php.net/manage/user-notes.php?action=reject+15997

« previous php.notes (#18834) next »