Re: implicit_clone
| From: | Martin Jansen | Date: | Sun, 22 Jun 2003 18:23:16 +0000 |
| Subject: | Re: implicit_clone | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2553@lists.php.net to get a copy of this message | ||
On Sun Jun 22, 2003 at 01:5924PM -0400, Sterling Hughes wrote:
> I think we should remove this ini option in favor of a function that
> does the same thing. This way implicit_clone() is not globally
> settable, but is settable per script. Something in the way of a:
>
> pragma_set('implicit_clone', true);
>
> Which would turn on implicit_clone for the current script (current
> portion of code.)
Sounds like a good idea for me, especially when taking into account that
pragma_set() can be called within a auto_prepend-file, which makes it
pretty easy to add "backwards compatibility" to a whole project without
much work.
--
- Martin Martin Jansen
http://martinjansen.com/