From 4893886874a8f198d72ec1f9243e50d38c191c29 Mon Sep 17 00:00:00 2001 From: irc-html Date: Thu, 17 Jan 2002 03:08:21 +0000 Subject: [PATCH] info.phpversion: added note about PHP_VERSION constant git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@67923 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/info.xml | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/functions/info.xml b/functions/info.xml index 64ad6c6ddb..508e47b667 100644 --- a/functions/info.xml +++ b/functions/info.xml @@ -1,5 +1,5 @@ - + PHP options & information PHP options/info @@ -689,7 +689,7 @@ echo "Last modified: ".date ("F d Y H:i:s.", getlastmod()); - See alse date, + See also date, getmyuid, getmygid, get_current_user, @@ -1504,7 +1504,7 @@ phpcredits(CREDITS_GROUP + CREDITS_DOCS + CREDITS_FULLPAGE); The output may be customized by passing one or more of the - following values sumed together in the optional parameter + following values summed together in the optional parameter what (one can also combine them together with the or operator. @@ -1550,6 +1550,13 @@ phpcredits(CREDITS_GROUP + CREDITS_DOCS + CREDITS_FULLPAGE); Returns a string containing the version of the currently running PHP parser. + + + + This information is also available in the predefined constant PHP_VERSION. + + + phpversion() example @@ -1583,13 +1590,11 @@ echo "Current PHP version: ".phpversion(); - - - - This funcionality was added in PHP 4 Beta 4. - - - + + + This funcionality was added in PHP 4 Beta 4. + + See also phpinfo. phpversion, @@ -1885,13 +1890,11 @@ echo version_compare("4.0.6", "4.0.6", "eq"); - - - - This funcionality was added in PHP 4 Beta 4. - - - + + + This funcionality was added in PHP 4 Beta 4. + +