note 125630 added to function.preg-match-all
| From: | chris at ocproducts dot com | Date: | Mon, 28 Dec 2020 15:43:16 +0000 |
| Subject: | note 125630 added to function.preg-match-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216027@lists.php.net to get a copy of this message | ||
If PREG_OFFSET_CAPTURE is set then unmatched captures (i.e. ones with '?') will not be
present in the result array. This is presumably because there is no offset, and thus the original
PHP dev decided best to just leave it out.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.165 (proxied: 184.55.77.114)
----
Manual Page -- http://php.net/manual/en/function.preg-match-all.php
Edit -- https://master.php.net/note/edit/125630
Del: integrated -- https://master.php.net/note/delete/125630/integrated
Del: useless -- https://master.php.net/note/delete/125630/useless
Del: bad code -- https://master.php.net/note/delete/125630/bad+code
Del: spam -- https://master.php.net/note/delete/125630/spam
Del: non-english -- https://master.php.net/note/delete/125630/non-english
Del: in docs -- https://master.php.net/note/delete/125630/in+docs
Del: other reasons-- https://master.php.net/note/delete/125630
Reject -- https://master.php.net/note/reject/125630
Search -- https://master.php.net/manage/user-notes.php