note 29899 added to function.preg-match-all

From: Date: Thu, 27 Feb 2003 23:20:47 +0000
Subject: note 29899 added to function.preg-match-all
Groups: php.notes 
Request: Send a blank email to php-notes+get-44638@lists.php.net to get a copy of this message
It seems as if passing PREG_OFFSET_CAPTURE alone as parameter 4 causes the error "Warning: Wrong value for parameter 4 in call to preg_match_all()" . If you instead pass PREG_OFFSET_CAPTURE | PREG_PATTERN_ORDER as the fourth paramter, you will no longer get an error. (At least on 4.3.0) -- http://www.php.net/manual/en/function.preg-match-all.php http://master.php.net/manage/user-notes.php?action=edit+29899 http://master.php.net/manage/user-notes.php?action=delete+29899 http://master.php.net/manage/user-notes.php?action=reject+29899

« previous php.notes (#44638) next »