PHP_Version


PHP_Version


 

Description


Allows you to get plug-in version info.

 

Parameters


There are no parameters for this function.

 

Return


Returns the plug-in version along with the release date and copyright information.


Errors


There are no errors for this function.

 

Example 1 - Get plug-in version info
PHP_Version
/*
Returns:
3.0.0.52 (2016-02-11)
Copyright (c) 2007-2016 Scodigo, Inc. Visit www.scodigo.com for more info.
This product includes PHP software, freely available from www.php.net/software.
*/
Example 2 - Get PHP version
PHP_Execute ( "echo phpversion();" )
/*
Returns: 5.6.14
*/

Change Log

VersionDescription
3.0.0PHP version is no longer returned. See the code example above if you need to check the version of PHP that’s been compiled into Smartpill.