note 36461 added to function.preg-match-all
| From: | Ivun at rn2 dot php dot net | Date: | Fri, 10 Oct 2003 11:13:40 +0000 |
| Subject: | note 36461 added to function.preg-match-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58185@lists.php.net to get a copy of this message | ||
Here is my code:
preg_match("/somepattern/i", $string, $match, PREG_OFFSET_CAPTURE);
It outputs 'Warning: Wrong value for parameter 4 in call to preg_match_all()'. I tried
this on 4.3.0 and 4.3.2
Is that the bug or I am doing something wrong?
----
Manual Page -- http://www.php.net/manual/en/function.preg-match-all.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36461
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36461&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36461&report=yes
Search -- http://master.php.net/manage/user-notes.php