Re: Declare minimum PHP version required?

From: Date: Mon, 03 Feb 2014 19:42:55 +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
Hi!

> 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.

Managing requirements is a job for package manager, like composer, not
language compiler, IMO.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (50 messages)

« previous php.internals (#72107) next »