note 99220 deleted from function.preg-quote by danbrown
| From: | danbrown@php.net | Date: | Thu, 26 Sep 2013 16:38:08 +0000 |
| Subject: | note 99220 deleted from function.preg-quote by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196382@lists.php.net to get a copy of this message | ||
Note Submitter: admin at nilamo dot com
----
@zooly:
And what if $myvar = 'te\\E.t'? It will match, when it shouldn't. That's why
you should use preg_quote().