Hi Lester,
On Tue, Feb 4, 2014 at 6:22 AM, Lester Caine <[email protected]> wrote:
> 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.
I don't think type of byte code cache matters.
I could be wrong. Anyone?
BTW, if you use legacy system with legacy code, there would not be
declare('requirements') or like. If there is, you get E_WARNING.
Regards,
--
Yasuo Ohgaki
[email protected]