note 10115 added to split

From: Date: Thu, 14 Dec 2000 09:56:51 +0000
Subject: note 10115 added to split
Groups: php.notes 
Request: Send a blank email to php-notes+get-8723@lists.php.net to get a copy of this message
When i try to split my string $line = "12|3|Fred"; list ($msgid, $msgref, $msgtopic)=split('|', $line); I got an error message unexpected regex error (14). I think this is because of the pipe character but anyone knows why? http://www.php.net/manual/function.split.php

« previous php.notes (#8723) next »