Common Functions

Common Functions

CodeIgniter uses a few functions for its operation that are globally defined, and are available to you at any point. These do not require loading any libraries or helpers.

is_php($version)
Parameters:
  • $version (string) – Version number
Returns:

TRUE if the running PHP version is at least the one specified or FALSE if not

Return type:

bool

Determines if the P