Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: max(six, four)?
(Example: nine)

The Note You're Voting On

bernd dot ebert at gmx dot net
13 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