Return to Snippet

Revision: 26618
at May 4, 2010 07:49 by xida


Initial Code
$version = PHP_VERSION;
echo 'The current version is: ' . $version[0];

Initial URL


Initial Description


Initial Title
get php major version

Initial Tags


Initial Language
PHP