Re: Declare minimum PHP version required?

From: Date: Mon, 03 Feb 2014 21:22:35 +0000
Subject: Re: Declare minimum PHP version required?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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

Thread (50 messages)

« previous php.internals (#72125) next »