diff --git a/functions/info.xml b/functions/info.xml
index 1b443523d1..95f3687214 100644
--- a/functions/info.xml
+++ b/functions/info.xml
@@ -603,23 +603,24 @@ echo "Current PHP version: ".phpversion();
string php_sapi_name
+ void
- php_sapi_name returns a string which
+ Php_sapi_name returns a string which
describes the type of interface between web server and PHP
(Server API, SAPI). In CGI PHP, this string is "CGI", in
mod_php for Apache, this string is "Apache" and so on.
- php_sapi_name example
+ Php_sapi_name Example
$inter_type = php_sapi_name();
if ($inter_type == "CGI")
- print "You are using CGI PHP\n";
+ print "You are using CGI PHP\n";
else
- print "You are not using CGI PHP\n";
+ print "You are not using CGI PHP\n";