Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89776 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95624 invoked from network); 9 Dec 2015 19:02:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2015 19:02:50 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.204 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.204 mail4.serversure.net Linux 2.6 Received: from [217.147.176.204] ([217.147.176.204:50397] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/69-20458-2DA78665 for ; Wed, 09 Dec 2015 14:02:49 -0500 Received: (qmail 25642 invoked by uid 89); 9 Dec 2015 19:02:35 -0000 Received: by simscan 1.3.1 ppid: 25636, pid: 25639, t: 0.0789s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.7?) (lester@rainbowdigitalmedia.org.uk@81.138.11.136) by mail4.serversure.net with ESMTPA; 9 Dec 2015 19:02:35 -0000 To: internals@lists.php.net References: <56662437.5040508@lsces.co.uk> <27359E8F-2C04-416B-861D-C2C4C85E4C77@lerdorf.com> <5666CDDD.6030209@lsces.co.uk> <5667A477.1060308@gmail.com> <566855AC.30808@gmail.com> Message-ID: <56687ACA.5090309@lsces.co.uk> Date: Wed, 9 Dec 2015 19:02:34 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <566855AC.30808@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Practical comparisons on PHP7 From: lester@lsces.co.uk (Lester Caine) On 09/12/15 16:24, Rowan Collins wrote: >> So as somebody already said, maybe your code or setup is really busted. > > Really busted, or spending all its time in a type of operation that ZE3 > can't particularly optimize... But I'd like to understand why what is fairly simple PHP code is apparently not working as some of you seem to expect. Much of the original code goes back to PHP4 days and has been optimised and updated over the years and re-factored a couple of times. It's doing the jobs required and giving response times that clients are happy with in the sub second on intranets. The only PHP7 fixes so far is a few __construct changes from the original named constructor ... the rest of the code is already e_strict clean. So where should I be looking to work out why PHP7 seems little better than PHP5. This code is ADOdb and Smarty based with templates which have developed over 10+ years and we can switch on page caching for the static material, but many sites are running with dynamic data such as calling clients from queues and displaying dynamic information pages. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk