Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2549 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57268 invoked from network); 22 Jun 2003 18:07:13 -0000 Received: from unknown (HELO hasele) (216.179.74.133) by pb1.pair.com with SMTP; 22 Jun 2003 18:07:13 -0000 Received: by hasele (Postfix, from userid 1000) id 357994ED6A; Sun, 22 Jun 2003 13:59:24 -0400 (EDT) To: internals@lists.php.net Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-ID: <1056304763.6262.5.camel@hasele> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 22 Jun 2003 13:59:24 -0400 Subject: implicit_clone From: sterling@bumblebury.com (Sterling Hughes) 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