Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:5786 php.qa:15814 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47855 invoked by uid 1010); 28 Nov 2003 09:19:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47798 invoked from network); 28 Nov 2003 09:19:48 -0000 Received: from unknown (HELO mail.internet-factory.de) (62.134.147.34) by pb1.pair.com with SMTP; 28 Nov 2003 09:19:48 -0000 Received: from pharao.lammfellpuschen.de (jeanette@pD9526211.dip.t-dialin.net [217.82.98.17]) by mail.internet-factory.de (8.12.8/8.12.5/1.1) with SMTP id hAS9JajF001524; Fri, 28 Nov 2003 10:19:36 +0100 Received: by pharao.lammfellpuschen.de (sSMTP sendmail emulation); Fri, 28 Nov 2003 10:19:35 +0100 Date: Fri, 28 Nov 2003 10:19:35 +0100 To: Andi Gutmans Cc: internals@lists.php.net, php-qa@lists.php.net Message-ID: <20031128091935.GA18047@pharao.lammfellpuschen.de> Reply-To: messju mohr References: <5.1.0.14.2.20031126172833.06829bb8@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20031126172833.06829bb8@127.0.0.1> User-Agent: Mutt/1.4.1i X-WebServ-MailScanner-Information: Please contact the ISP for more information X-WebServ-MailScanner: Found to be clean X-WebServ-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.386, required 5, AWL -3.82, BAYES_00 -4.90, RCVD_IN_DYNABLOCK 2.60, RCVD_IN_NJABL 0.10, RCVD_IN_NJABL_DIALUP 3.54, RCVD_IN_SORBS 0.10) Subject: Re: [PHP-DEV] Compatibility problems with PHP 5 From: messju@lammfellpuschen.de (messju mohr) Hello, On Wed, Nov 26, 2003 at 05:32:29PM +0200, Andi Gutmans wrote: > Hi guys, > > Now that we're at a very advanced stage and the code freeze is coming up, I > think it'd be a good idea to start running some PHP 4 applications on PHP 5 > and see how easy things go. I'm sure we'll bump into some issues and many > of them might be solvable (using the already existing compatibility mode > for object cloning or by other means). > > If anyone here has time or has already tried running some popular PHP > packages such as php-nuke, phpbb, phpmyadmin and so on, I'd love to hear > about your experience and especially the problems. Version 2.6.0 (the latest) of the Smarty template engine seems to go fine with php5. There is one new and rarely used feature in this version that relies on passing a function-parameter that has to be named "$this". But I'm sure this will be fixed in the near future. Older versions of Smarty create code that calls functions dynamically "$this->_plugins['function']['foo'][0](array(), $this)". This seems to break in php-5. greetings messju > Thanks, > Andi