tomsommer Fri Dec 3 18:38:04 2004 EDT
Modified files:
/phpdoc/en/reference/info/functions phpversion.xml
Log:
- Fix type
- Note that phpversion will also return false is an extension isn't loaded
http://cvs.php.net/diff.php/phpdoc/en/reference/info/functions/phpversion.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/info/functions/phpversion.xml
diff -u phpdoc/en/reference/info/functions/phpversion.xml:1.4
phpdoc/en/reference/info/functions/phpversion.xml:1.5
--- phpdoc/en/reference/info/functions/phpversion.xml:1.4 Sun Oct 17
07:08:04 2004
+++ phpdoc/en/reference/info/functions/phpversion.xml Fri Dec 3 18:38:04 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
<refentry id="function.phpversion">
<refnamediv>
@@ -9,14 +9,15 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>string</type><methodname>phpversion</methodname>
+ <type>mixed</type><methodname>phpversion</methodname>
<methodparam
choice="opt"><type>string</type><parameter>extension</parameter></methodparam>
</methodsynopsis>
<para>
Returns a string containing the version of the currently running
PHP parser. If the optional <parameter>extension</parameter> parameter is
specified, <function>phpversion</function> returns the version of that
- extension, or &false; if there is no version information associated.
+ extension, or &false; if there is no version information associated or
+ the extension isn't enabled.
</para>
<note>
<para>