note 12154 deleted from function.preg-split by jimw

From: Date: Fri, 02 Nov 2001 02:12:14 +0000
Subject: note 12154 deleted from function.preg-split by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20253@lists.php.net to get a copy of this message
"pattern" must be delimited by slashes or preg_match_all() will give a warning. For example this results in a warning: $string="abc"; preg_match_all("[a-z]", $string, $seperate); correct syntax: preg_match_all("/[a-z]/", $string, $seperate); I have no idea why that is not shown in the function definition or explained thereafter.

« previous php.notes (#20253) next »