[go: nahoru, domu]

PHP 8.4.0 Alpha 4 available for testing

Voting

: six plus one?
(Example: nine)

The Note You're Voting On

bernd dot ebert at gmx dot net
12 years ago
There is a problem within the pcre_fnmatch-Function concerning backslashes. Those will be masked by preq_quote and ADDITONALLY by the strtr if FN_NOESCAPE is not set -> something like "*a(*" will finally result in "#^.*a\\(.*$#". Note the double backslash which effectively does NOT mask the "(" correctly.

Since preq_quote always matches a backslash I don't think that this'll work with using preg_quote at all.

<< Back to user notes page

To Top