Re: Write RegExp-Vars in a function
| From: | SLanger at spirit21 dot de | Date: | Wed, 03 Sep 2003 09:04:32 +0000 |
| Subject: | Re: Write RegExp-Vars in a function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161524@lists.php.net to get a copy of this message | ||
Hello Niels
Use preg_replace_callback
http://de.php.net/preg_replace_callback
since it is faster than using the /e switch.
Regards
Stefan Langer