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 version info
PHP_Version /* Returns: 3.0.0.22 (2015-04-24) Copyright (c) 2007-2015 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.2 */
Change Log
Version | Description |
---|---|
3.0.0 | PHP 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. |
Add Comment