PHP 4.0 Bug #3806 Updated: PCRE not working as expected
| From: | Bug Database | Date: | Sat, 11 Mar 2000 16:18:24 +0000 |
| Subject: | PHP 4.0 Bug #3806 Updated: PCRE not working as expected | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16684@lists.php.net to get a copy of this message | ||
ID: 3806
Updated by: andrei
Reported By: chrisbolt@home.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
You need to use "\\\$include" as the pattern. If you use just "\$include",
PHP interprets "\$" as simply "$" and passes it onto the regular
expression functions which treat it as the end-of-the-line metacharacter.
Full Bug description available at: http://bugs.php.net/version4/?id=3806