Re: [RFC] Deprecate and remove /e modifier from preg_replace
| From: | Tom Boutell | Date: | Sun, 05 Feb 2012 16:37:12 +0000 |
| Subject: | Re: [RFC] Deprecate and remove /e modifier from preg_replace | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57729@lists.php.net to get a copy of this message | ||
A sense of humor is important when reading mailing lists frequented by
extremely clever people (:
On Sun, Feb 5, 2012 at 11:34 AM, Reindl Harald <h.reindl@thelounge.net> wrote:
> what he hell - if you kill eval you would kill the whole
> work of my life and yes i know that eval is evil and
> it is only used at one place which is a central and
> real important to include modules and set parameters
> dynamically
>
> the /e modifier is a total other dimension because it can
> be used by people not knowing what they are doing exactly
> by C&P any code snippet
>
> eval() is a documentated function
>
> Am 05.02.2012 17:21, schrieb Pierre Joye:
>> I think we should remove eval at the same time then. As the risk is
>> exactly the same in both situations. Eval is just as evil and can be
>> avoided as well (or any other similar features, not sure if other exts
>> allow that).
>>
>> Cheers,
>>
>> On Sun, Feb 5, 2012 at 3:59 PM, 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!
>
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com