Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22781 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17669 invoked by uid 1010); 15 Apr 2006 06:59:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17654 invoked from network); 15 Apr 2006 06:59:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2006 06:59:05 -0000 X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:14127] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 64/30-19715-8B990444 for ; Sat, 15 Apr 2006 02:59:05 -0400 Received: from foxbox (unknown [84.228.8.209]) by gw2.emini.dk (Postfix) with ESMTP id 85B6EACC94; Sat, 15 Apr 2006 08:59:00 +0200 (CEST) Message-ID: <11cb01c6605a$0aab4f00$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "Lukas Smith" Cc: "internals" References: <44405E58.8040808@lerdorf.com> <44409342.4030706@php.net> <11b601c66057$76abf540$6602a8c0@foxbox> <44409681.8010406@php.net> Date: Sat, 15 Apr 2006 08:58:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] script upgrading program was Re: [PHP-DEV] Re: Summer of Code From: steph@zend.com ("Steph Fox") I wasn't thinking of writing something in PHP... there'd be no way for userland code to 'see' half the stuff that needed changing. Anyway, just a thought. > Steph Fox wrote: >> Is it a really stupid idea to suggest a script upgrading program a la >> 'autoupdate' (for 4/5 -> 6)? >> >> It's something I hoped to tackle myself, but am unlikely to find the time >> for. > > Well if it works it could solve some issues. Like handling stupid BC > breaks (array_merge, class_exists), exploit new features (parsing phpdoc > to set PPP) and generally make the code a happy E_STRICT camper. > > The potential for breakage is huge though (take the PPP example ..) and > also for code library it would mean that users will report all sorts of > suprising bugs (unless you test the code in all its variations). > > So maybe as a one time migration tool it could make a nice addition to > PHP_Compat (implements new functions/constants etc in userland) and > PHP_CompatInfo (determines the minimal php version). > > regards, > Lukas > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > > __________ NOD32 1.1380 (20060125) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > >