Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16690 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55771 invoked by uid 1010); 15 Jun 2005 15:10:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55748 invoked from network); 15 Jun 2005 15:10:42 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 15 Jun 2005 15:10:42 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:60165] helo=mail.zend.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 11/62-20931-09B30B24 for ; Wed, 15 Jun 2005 10:30:41 -0400 Received: (qmail 14078 invoked from network); 15 Jun 2005 14:30:28 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 15 Jun 2005 14:30:28 -0000 Date: Wed, 15 Jun 2005 17:30:28 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: Lukas Smith cc: internals@lists.php.net In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] forward compatibility "public" in 4.4 From: stas@zend.com (Stanislav Malyshev) LS>> LS>>A while ago someone on IRC suggested that it might be a good idea to add LS>>"public" to PHP 4.x for forward compatibility. I brought it up again on IRC LS>>yesterday and several prominent members of the php core community said it LS>>would be a good idea to add to the 4.4 branch. Why it would be a good idea? You couldn't run this code on 4.x{x<4} anymore. And you still don't have php5 capabilities. So you get PHP code which has all PHP 4 restrictions plus is not portable to arbitrary PHP 4 version and requires only php 4.4 to run. How is it good? LS>>I think its a good idea to have, to make it somewhat possible to prepare for LS>>the PHP5 E_STRICT world, while still developing PHP4 compatible code. I LS>>could for example see this help increase the PHP5 adoption inside PEAR, Like, PEAR would drop support for PHP 4.3 or it would have two copies of the code - one with public keyword and one without? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115