Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5535 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58917 invoked by uid 1010); 19 Nov 2003 01:05:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58893 invoked by uid 1007); 19 Nov 2003 01:05:38 -0000 Message-ID: <20031119010537.58892.qmail@pb1.pair.com> To: internals@lists.php.net References: <20031119003051.88216.qmail@pb1.pair.com> <200311181954.22451.ilia@prohost.org> Date: Tue, 18 Nov 2003 17:05:37 -0800 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Posted-By: 169.229.139.92 Subject: Re: [PHP-DEV] E_STRICT From: pollita@php.net ("Sara Golemon") > On a related note, since a major PHP version is now being released, perhaps it > is the time to finally remove old deprecated functionality that in many cases > deprecated for years. I propose that we agree on a certain version as a > minimum and remove all deprecated functionality that was marked as such prior > to that version. > When it comes to removing deprecated functions entirely, I'd favor a ./configure option (--enable-deprecated) which would define PHP_USE_DEPRECATED. Then those functions could be "removed" with: #ifdef PHP_USE_DEPRECATED . . . #endif This way cruft is left out of a build by default, but can be easily put back in by those who need it. Then with the next version (5.1? / 6.0?) do the actual dirty work of taking them out for good. More gentle on the scripters. -Sara