I'm writing an installation script for my PHP content management
system. I've written the code to be compatible with PHP 4.06 or later.
I need to get the PHP version and throw an error message if the
version is less than 4.0.6. I realize that phpinfo outputs the info,
but what function would get me the version string?
system. I've written the code to be compatible with PHP 4.06 or later.
I need to get the PHP version and throw an error message if the
version is less than 4.0.6. I realize that phpinfo outputs the info,
but what function would get me the version string?
Comment