note 29899 deleted from function.preg-match-all by sniper

From: Date: Tue, 30 Sep 2003 12:23:08 +0000
Subject: note 29899 deleted from function.preg-match-all by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57436@lists.php.net to get a copy of this message
Note Submitter: chris@chrisderose.com ---- 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)

« previous php.notes (#57436) next »