implicit_clone

From: Date: Sun, 22 Jun 2003 17:59:24 +0000
Subject: implicit_clone
Groups: php.internals 
Request: Send a blank email to internals+get-2549@lists.php.net to get a copy of this message
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

« previous php.internals (#2549) next »