mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-04-01 08:48:56 +00:00
![]() All PCRE pattern matching functions will throw a warning when an invalid regex is passed to the `$pattern` parameter. See: https://3v4l.org/WkVIW This was thus far undocumented behaviour. This PR adds: * The "Errors/Exceptions" section to each of the PCRE pattern matching function documentation pages (if it didn't exist yet). * Adds a macro for the text snippet about the warning to display in the section and uses that in the "Errors/Exceptions" section for each function. Co-authored-by: jrfnl <jrfnl@users.noreply.github.com> Closes GH-1057. |
||
---|---|---|
.. | ||
preg-filter.xml | ||
preg-grep.xml | ||
preg-last-error-msg.xml | ||
preg-last-error.xml | ||
preg-match-all.xml | ||
preg-match.xml | ||
preg-quote.xml | ||
preg-replace-callback-array.xml | ||
preg-replace-callback.xml | ||
preg-replace.xml | ||
preg-split.xml |