Hi,

Currently, soley for backwards compatibility purposes we provide the
ze2.implicit_clone option.  This option is globally settable, and may be
used by shared hosting providers to make it more likely that old scripts
can run unmodified.  This however makes it extremely hard, and inelegant
for people relying on new "functionality" in php5 to write portable php5
scripts.  More specifically, it would require every portable script to
do:

ini_set('ze2.implicit_clone', 0);

At the top of their script.  

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.)

-Sterling

-- 
"A business that makes nothing but money is a poor kind of business." 
    - Henry Ford

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to