mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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
This commit is contained in:
parent
1c255dec53
commit
4893886874
1 changed files with 20 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.84 $ -->
|
||||
<!-- $Revision: 1.85 $ -->
|
||||
<reference id="ref.info">
|
||||
<title>PHP options & information</title>
|
||||
<titleabbrev>PHP options/info</titleabbrev>
|
||||
|
@ -689,7 +689,7 @@ echo "Last modified: ".date ("F d Y H:i:s.", getlastmod());
|
|||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See alse <function>date</function>,
|
||||
See also <function>date</function>,
|
||||
<function>getmyuid</function>,
|
||||
<function>getmygid</function>,
|
||||
<function>get_current_user</function>,
|
||||
|
@ -1504,7 +1504,7 @@ phpcredits(CREDITS_GROUP + CREDITS_DOCS + CREDITS_FULLPAGE);
|
|||
</para>
|
||||
<para>
|
||||
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
|
||||
<parameter>what</parameter> (one can also combine them together
|
||||
with the <link linkend="language.operators.bitwise">or</link> operator.
|
||||
<itemizedlist>
|
||||
|
@ -1550,6 +1550,13 @@ phpcredits(CREDITS_GROUP + CREDITS_DOCS + CREDITS_FULLPAGE);
|
|||
<para>
|
||||
Returns a string containing the version of the currently running
|
||||
PHP parser.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
This information is also available in the predefined constant PHP_VERSION.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
<example>
|
||||
<title>phpversion() example</title>
|
||||
<programlisting role="php">
|
||||
|
@ -1583,13 +1590,11 @@ echo "Current PHP version: ".phpversion();
|
|||
<void/>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<note>
|
||||
<para>
|
||||
This funcionality was added in PHP 4 Beta 4.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
This funcionality was added in PHP 4 Beta 4.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>phpinfo</function>.
|
||||
<function>phpversion</function>,
|
||||
|
@ -1885,13 +1890,11 @@ echo version_compare("4.0.6", "4.0.6", "eq");
|
|||
<void/>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
<note>
|
||||
<para>
|
||||
This funcionality was added in PHP 4 Beta 4.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
This funcionality was added in PHP 4 Beta 4.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue