Re: [RFC] Deprecate and remove /e modifier from preg_replace
| From: | Tom Boutell | Date: | Sun, 05 Feb 2012 15:39:31 +0000 |
| Subject: | Re: [RFC] Deprecate and remove /e modifier from preg_replace | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57724@lists.php.net to get a copy of this message | ||
I think this is a good idea, since nobody's keeping you from calling
eval() in a callback if you really really really need to, there's no
loss of functionality, just the discouragement of an unhealthy "worst
practice." (:
On Sun, Feb 5, 2012 at 9:59 AM, Nikita Popov <nikita.ppv@googlemail.com> wrote:
> Hi internals!
>
> I have written an RFC that proposes to *deprecate* and *remove* the /e modifier:
>
> https://wiki.php.net/rfc/remove_preg_replace_eval_modifier
>
> Comments welcome!
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com