- Fix type

- Note that phpversion will also return false is an extension isn't loaded


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174032 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Tom Sommer 2004-12-03 23:38:04 +00:00
parent 904fb08c4f
commit e824fc0611

View file

@ -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>