Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72125 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43024 invoked from network); 3 Feb 2014 21:19:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2014 21:19:52 -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:44619] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/84-35654-7F700F25 for ; Mon, 03 Feb 2014 16:19:51 -0500 Received: (qmail 4972 invoked by uid 89); 3 Feb 2014 21:19:48 -0000 Received: by simscan 1.3.1 ppid: 4966, pid: 4969, t: 0.0605s scanners: attach: 1.3.1 clamav: 0.96/m:52 Received: from unknown (HELO linux-dev4.lsces.org.uk) (lester@rainbowdigitalmedia.org.uk@81.138.11.136) by mail4.serversure.net with ESMTPA; 3 Feb 2014 21:19:48 -0000 Message-ID: <52F0089B.4030108@lsces.co.uk> Date: Mon, 03 Feb 2014 21:22:35 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23 MIME-Version: 1.0 To: PHP internals References: <52EF4BF8.60005@sugarcrm.com> <52EF7ADA.8090001@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Declare minimum PHP version required? From: lester@lsces.co.uk (Lester Caine) Yasuo Ohgaki wrote: > Since it is evaluated at compile time, run time check is not needed at all when > byte code cache is used. > > There are many code out there checks if (!extention_loaded(foo')) die('You need > foo'). This is waste of CPU resources once it is checked. These requirements for > scripts may be evaluated at compile time and script runs a little faster. And if the system you are running no longer has your 'byte code cache'? I'm still running eaccelerator as it's the base for all the legacy systems. -- 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