According to our guidelines:

- Use PHP x.x.0 instead of PHP x.x, or use PHP x.x.x where appropriate
- Use PHP x instead of PHPx


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@229829 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2007-02-15 08:12:20 +00:00
parent 696dd48678
commit c2e9e5a27e
23 changed files with 70 additions and 70 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.69 $ -->
<!-- $Revision: 1.70 $ -->
<appendix id="wrappers">
<title>List of Supported Protocols/Wrappers</title>
<para>
@ -418,7 +418,7 @@ $result = file_get_contents('http://example.com/submit.php', false, $context);
(such as the default <literal>PHP/version</literal> setting)
followed by a carriage-return/line-feed pair and any
additional headers.
This method works in PHP4 and all later versions.
This method works in PHP 4 and all later versions.
</para>
<para>
<example>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<sect1 id="install.windows.installer">
<title>Windows Installer (PHP 5.1 and earlier)</title>
<title>Windows Installer (PHP 5.1.0 and earlier)</title>
<para>
The Windows PHP installer is available from the downloads page at

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.109 $ -->
<!-- $Revision: 1.110 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@ -372,7 +372,7 @@ $b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!";
up pointing at the same data, and nothing is copied anywhere.
To learn more about references, please read <link
linkend="language.references">References explained</link>. As of
PHP5 objects are assigned by reference unless explicitly told
PHP 5, objects are assigned by reference unless explicitly told
otherwise with the new <link linkend="language.oop5.cloning">clone</link>
keyword.
</para>

View file

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<section id="bcompiler.installation">
&reftitle.install;
<para>
short installation note:
<itemizedlist>
<listitem>
<simpara>You need at least PHP 4.3. for the compression to work</simpara>
<simpara>You need at least PHP 4.3.0 for the compression to work</simpara>
</listitem>
<listitem>
<simpara>
To install on PHP 4.3 and later at the unix command prompt type
To install on PHP 4.3.0 and later at the unix command prompt type
<command>pear install bcompiler</command>
</simpara>
</listitem>
@ -44,7 +44,7 @@
</listitem>
<listitem>
<simpara>
If you are using versions before PHP 4.3, the you will need to copy the
If you are using versions before PHP 4.3.0, the you will need to copy the
<filename>Makefile.in.old</filename> to <filename>Makefile.in</filename>
and <filename>config.m4.old</filename> to <filename>config.m4</filename>.
</simpara>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.20 $ -->
<!-- $Revision: 1.21 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 -->
<refentry id="function.strtotime">
<refnamediv>
@ -45,8 +45,8 @@
<para>
The string to parse, according to the GNU <ulink
url="&url.gnu.man.date-input;">Date Input Formats</ulink>
syntax. Before PHP 5.0, microseconds weren't allowed in the time, since
PHP 5.0 they are allowed but ignored.
syntax. Before PHP 5.0.0, microseconds weren't allowed in the time, since
PHP 5.0.0 they are allowed but ignored.
</para>
</listitem>
</varlistentry>
@ -156,7 +156,7 @@ if (($timestamp = strtotime($str)) === false) {
</warning>
<warning>
<para>
In PHP versions prior to 4.4, <literal>"next"</literal> is incorrectly
In PHP versions prior to 4.4.0, <literal>"next"</literal> is incorrectly
computed as +2. A typical solution to this is to use
<literal>"+1"</literal>.
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<section id="errorfunc.constants">
&reftitle.constants;
&extension.constants.core;
@ -199,7 +199,7 @@
<function>set_error_handler</function>), the application aborts as it
was an <constant>E_ERROR</constant>.
</entry>
<entry>since PHP 5.2</entry>
<entry>since PHP 5.2.0</entry>
</row>
<row id="e-all">
@ -212,7 +212,7 @@
All errors and warnings, as supported, except of level
<constant>E_STRICT</constant> in PHP &lt; 6.
</entry>
<entry>6143 in PHP 5.2 and 2047 previously</entry>
<entry>6143 in PHP 5.2.x and 2047 previously</entry>
</row>
</tbody>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<!-- Purpose: utilspec.nontext -->
<!-- Membership: bundled, external -->
@ -55,7 +55,7 @@
<para>
You need the FDF toolkit SDK available from
<ulink url="&spec.pdf.fdf;">&spec.pdf.fdf;</ulink>.
As of PHP 4.3 you need at least SDK version 5.0.
As of PHP 4.3.0 you need at least SDK version 5.0.
The FDF toolkit library is available in binary form only,
platforms supported by Adobe are Win32, Linux, Solaris and AIX.
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.24 $ -->
<!-- $Revision: 1.25 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.87 -->
<refentry id="function.parse-ini-file">
<refnamediv>
@ -44,7 +44,7 @@
</note>
<note>
<para>
As of PHP 5.0 this function also handles new lines in values.
As of PHP 5.0.0 this function also handles new lines in values.
</para>
</note>
<note>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<!-- Purpose: basic.php -->
<!-- Membership: core -->
@ -22,7 +22,7 @@
</para>
<note>
<para>
When upgrading from PHP 4.1 (and 4.2) to 4.3 due to a bug in
When upgrading from PHP 4.1.0 (and 4.2.0) to 4.3.0 due to a bug in
earlier versions you must ensure that
<literal>implict_flush</literal> is <literal>OFF</literal> in
your &php.ini;, otherwise any output with

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.23 $ -->
<!-- $Revision: 1.24 $ -->
<!-- Purpose: utilspec.nontext -->
<!-- Membership: pecl, external -->
@ -106,7 +106,7 @@
of PDFlib older than 3.0.
</para>
<para>
PDFlib 4.0 or greater is supported by PHP 4.3 and later.
PDFlib 4.0 or greater is supported by PHP 4.3.0 and later.
</para>
</section>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<section id="pdo.installation">
&reftitle.install;
<procedure id='pdo.install.unix51up'>
@ -54,7 +54,7 @@ extension=pdo.so
</step>
</procedure>
<procedure id='pdo.install.pecl'>
<title>PHP 5.0 and up on Unix systems</title>
<title>PHP 5.0.0 and up on Unix systems</title>
<step>
<para>
PDO is available as a PECL extension from
@ -96,7 +96,7 @@ extension=pdo.so
</step>
</procedure>
<procedure id='pdo.install.win32php51'>
<title>Windows users running PHP 5.1 and up</title>
<title>Windows users running PHP 5.1.0 and up</title>
<step>
<para>
PDO and all the major drivers ship with PHP as shared extensions, and

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!-- Purpose: database.vendors -->
<!-- Membership: bundled, pecl -->
@ -72,7 +72,7 @@
</para>
<note>
<para>
The sqlite2 driver is only available in PHP 5.1 if you have enabled
The sqlite2 driver is only available in PHP 5.1.x if you have enabled
both PDO and ext/sqlite. It is not currently available via PECL.
</para>
</note>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<section id="runkit.constants">
&reftitle.constants;
@ -93,7 +93,7 @@
</term>
<listitem>
<simpara>
PHP5 specific flag to <function>runkit_method_add</function>
PHP 5 specific flag to <function>runkit_method_add</function>
</simpara>
</listitem>
</varlistentry>
@ -104,7 +104,7 @@
</term>
<listitem>
<simpara>
PHP5 specific flag to <function>runkit_method_add</function>
PHP 5 specific flag to <function>runkit_method_add</function>
</simpara>
</listitem>
</varlistentry>
@ -115,7 +115,7 @@
</term>
<listitem>
<simpara>
PHP5 specific flag to <function>runkit_method_add</function>
PHP 5 specific flag to <function>runkit_method_add</function>
</simpara>
</listitem>
</varlistentry>
@ -126,7 +126,7 @@
</term>
<listitem>
<simpara>
PHP5 specific flag to <function>classkit_method_add</function>
PHP 5 specific flag to <function>classkit_method_add</function>
Only defined when classkit compatibility is enabled.
</simpara>
</listitem>
@ -138,7 +138,7 @@
</term>
<listitem>
<simpara>
PHP5 specific flag to <function>classkit_method_add</function>
PHP 5 specific flag to <function>classkit_method_add</function>
Only defined when classkit compatibility is enabled.
</simpara>
</listitem>
@ -150,7 +150,7 @@
</term>
<listitem>
<simpara>
PHP5 specific flag to <function>classkit_method_add</function>
PHP 5 specific flag to <function>classkit_method_add</function>
Only defined when classkit compatibility is enabled.
</simpara>
</listitem>
@ -162,7 +162,7 @@
</term>
<listitem>
<simpara>
PHP5 specific flag to <function>classkit_import</function>
PHP 5 specific flag to <function>classkit_import</function>
Only defined when classkit compatibility is enabled.
</simpara>
</listitem>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.25 $ -->
<!-- $Revision: 1.26 $ -->
<!-- Purpose: xml -->
<!-- Membership: pecl -->
@ -74,7 +74,7 @@
<section id="sdo.requirements">
&reftitle.required;
<para>
The SDO extension requires PHP 5.1 or higher. It also requires the
The SDO extension requires PHP 5.1.0 or higher. It also requires the
libxml2 library. Normally libxml2 will already be installed, but if
not, it can be downloaded from
<ulink url='&url.libxml;'>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.18 $ -->
<!-- $Revision: 1.19 $ -->
<!-- Purpose: xml -->
<!-- Membership: pecl -->
<!-- State: experimental -->
@ -43,7 +43,7 @@
<section id="sdo-das-xml.requirements">
&reftitle.required;
<para>
The SDO XML Data Access Service requires PHP 5.1 or higher.
The SDO XML Data Access Service requires PHP 5.1.0 or higher.
It is packaged with the SDO extension and requires
SDO to have been installed.
See the

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.58 $ -->
<!-- $Revision: 1.59 $ -->
<!-- Purpose: basic.session -->
<!-- Membership: core -->
@ -57,7 +57,7 @@
</warning>
<note>
<para>
Session handling was added in PHP 4.0.
Session handling was added in PHP 4.0.0.
</para>
</note>
<note>
@ -241,7 +241,7 @@ unset($_SESSION['count']);
<varname>$_SESSION</varname>.
<caution>
<para>
Before PHP 4.3, if you are using <varname>$_SESSION</varname> and you
Before PHP 4.3.0, if you are using <varname>$_SESSION</varname> and you
have disabled <link linkend="ini.register-globals">register_globals</link>,
don't use <function>session_register</function>,
<function>session_is_registered</function> or
@ -268,7 +268,7 @@ unset($_SESSION['count']);
not reference the same value until the next
<function>session_start</function>. I.e. a modification to the newly
registered global variable will not be reflected by the
<varname>$_SESSION</varname> entry. This has been corrected in PHP 4.3.
<varname>$_SESSION</varname> entry. This has been corrected in PHP 4.3.0.
</para>
</section>
@ -296,7 +296,7 @@ unset($_SESSION['count']);
</para>
<para>
PHP is capable of transforming links transparently. Unless you are using
PHP 4.2 or later, you need to enable it manually when building PHP.
PHP 4.2.0 or later, you need to enable it manually when building PHP.
Under Unix, pass <link linkend="ini.session.use-trans-sid">
--enable-trans-sid</link> to configure. If this build
option and the run-time option

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<refentry id="function.class-implements">
<refnamediv>
<refname>class_implements</refname>
@ -93,7 +93,7 @@ class bar implements foo {}
print_r(class_implements(new bar));
// since PHP 5.1 you may also specify the parameter as a string
// since PHP 5.1.0 you may also specify the parameter as a string
print_r(class_implements('bar'));

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.class-parents">
<refnamediv>
<refname>class_parents</refname>
@ -92,7 +92,7 @@ class bar extends foo {}
print_r(class_parents(new bar));
// since PHP 5.1 you may also specify the parameter as a string
// since PHP 5.1.0 you may also specify the parameter as a string
print_r(class_parents('bar'));

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- $Revision: 1.9 $ -->
<refentry id="function.stream-get-meta-data">
<refnamediv>
<refname>stream_get_meta_data</refname>
@ -53,7 +53,7 @@
</listitem>
</itemizedlist>
<simpara>
The following items were added in PHP 4.3:
The following items were added in PHP 4.3.0:
</simpara>
<itemizedlist>
<listitem>
@ -87,12 +87,12 @@
</itemizedlist>
<note>
<para>
This function was introduced in PHP 4.3, but prior to this version,
This function was introduced in PHP 4.3.0, but prior to this version,
<function>socket_get_status</function> could be used to retrieve
the first four items, for <emphasis>socket based streams only</emphasis>.
</para>
<para>
In PHP 4.3 and later,
In PHP 4.3.0 and later,
<function>socket_get_status</function> is an alias for this function.
</para>
</note>
@ -102,7 +102,7 @@
</simpara>
</note>
<simpara>
The following items were added in PHP 5.0:
The following items were added in PHP 5.0.0:
</simpara>
<itemizedlist>
<listitem>

View file

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<section id="xmlreader.installation">
&reftitle.install;
<para>
The XMLReader extension is available in PECL for PHP 5.0 and is
included and enabled in PHP 5.1 by default. It can be enabled
The XMLReader extension is available in PECL as of PHP 5.0.0 and is
included and enabled as of PHP 5.1.0 by default. It can be enabled
by adding the argument <option role="configure">--enable-xmlreader</option>
(or <option role="configure">--with-xmlreader</option> before 5.1)
(or <option role="configure">--with-xmlreader</option> before 5.1.0)
to your configure line. The libxml extension is required.
</para>
</section>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<!-- Purpose: xml -->
<!-- Membership: bundled, external -->
@ -26,8 +26,8 @@
<note>
<simpara>
This extension is different than the sablotron extension distributed with
versions of PHP prior to PHP 4.1, currently only the new XSLT extension in
PHP 4.1 is supported. If you need support for the old extension, please ask
versions of PHP prior to PHP 4.1.0, currently only the new XSLT extension in
PHP 4.1.0 is supported. If you need support for the old extension, please ask
your questions on the PHP mailing lists.
</simpara>
</note>

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.10 $ -->
<!-- $Revision: 1.11 $ -->
<section id="zip.installation">
&reftitle.install;
<section id="zip.old.installation">
<title>PHP4</title>
<title>PHP 4</title>
<note>
<para>
@ -14,7 +14,7 @@
<warning>
<para>
Because the PHP4 zip extension is unmaintained we recommend that the PECL
Because the PHP 4 zip extension is unmaintained we recommend that the PECL
extension is used rather than the bundled one.
</para>
</warning>
@ -39,7 +39,7 @@
</section>
<section id="zip.installation.new">
<title>PHP5.2 and later</title>
<title>PHP 5.2.0 and later</title>
<section id="zip.installation.new.linux">
<title>Linux systems</title>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<!-- Purpose: compression -->
<!-- Membership: bundled, pecl -->
@ -21,13 +21,13 @@
<section id="zip.requirements.old">
<title>PHP 4</title>
<para>
The bundled PHP4 version requires <ulink url="&url.zziplib;">ZZIPlib</ulink>,
The bundled PHP 4 version requires <ulink url="&url.zziplib;">ZZIPlib</ulink>,
by Guido Draheim, version 0.10.6 or later
</para>
</section>
<section id="zip.requirements.new">
<title>PHP 5.2 or later</title>
<title>PHP 5.2.0 or later</title>
<para>
This extension uses the functions of <ulink url="&url.zlib;">zlib</ulink>
by Jean-loup Gailly and Mark Adler.