Removed references to PHP 5, PHP 7.0 (#545)

This commit is contained in:
Sergey Panteleev 2021-04-24 20:01:17 +03:00 committed by GitHub
parent aab33d6443
commit a0ae28d3bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 184 additions and 309 deletions

View file

@ -168,29 +168,6 @@ code!
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-memory-limit">
<term>
<option role="configure">--enable-memory-limit</option>
</term>
<listitem>
<para>
Compile with memory limit support.
(not available since PHP 5.2.1 - always enabled)
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.disable-url-fopen-wrapper">
<term>
<option role="configure">--disable-url-fopen-wrapper</option>
</term>
<listitem>
<para>
Disable the URL-aware fopen wrapper that allows
accessing files via HTTP or FTP.
(not available since PHP 5.2.5)
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="configure.enable-versioning.php4">
<term>
<option role="configure">--enable-versioning</option>

View file

@ -32,12 +32,12 @@
<row>
<entry><link linkend="ini.per-host">[HOST=]</link></entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Added in PHP 5.3.0.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.per-path">[PATH=]</link></entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Added in PHP 5.3.0.</entry>
<entry></entry>
</row>
</tbody>
</tgroup>

View file

@ -56,7 +56,7 @@
</note>
<para>
As of PHP 5, the &cli; binary is distributed in the main folder as <filename>
The &cli; binary is distributed in the main folder as <filename>
php.exe</filename> on Windows. The <acronym>CGI</acronym> version is
distributed as <filename>php-cgi.exe</filename>. Additionally, a <filename>
php-win.exe</filename> is distributed if PHP is configured using
@ -686,7 +686,7 @@ array(370) {
<entry>--process-begin</entry>
<entry>
<para>
PHP code to execute before processing stdin. Added in PHP 5.
PHP code to execute before processing stdin.
</para>
</entry>
</row>
@ -695,7 +695,7 @@ array(370) {
<entry>--process-code</entry>
<entry>
<para>
PHP code to execute for every input line. Added in PHP 5.
PHP code to execute for every input line.
</para>
<para>
There are two special variables available in this mode:
@ -711,7 +711,7 @@ array(370) {
<entry>--process-file</entry>
<entry>
<para>
PHP file to execute for every input line. Added in PHP 5.
PHP file to execute for every input line.
</para>
</entry>
</row>
@ -720,7 +720,7 @@ array(370) {
<entry>--process-end</entry>
<entry>
<para>
PHP code to execute after processing the input. Added in PHP 5.
PHP code to execute after processing the input.
</para>
<para><example>
<title>Using the <option>-B</option>, <option>-R</option> and
@ -742,7 +742,7 @@ Total Lines: 37328
<entry>
<para>
Starts <link linkend="features.commandline.webserver">built-in web
server</link>. Available as of PHP 5.4.0.
server</link>.
</para>
</entry>
</row>
@ -752,7 +752,6 @@ Total Lines: 37328
<entry>
Specifies document root for <link
linkend="features.commandline.webserver">built-in web server</link>.
Available as of PHP 5.4.0.
</entry>
</row>
<row>
@ -830,8 +829,7 @@ Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
<entry>--ini</entry>
<entry>
<para>
Show configuration file names and scanned directories. Available as
of PHP 5.2.3.
Show configuration file names and scanned directories.
<example>
<title><literal>--ini</literal> example</title>
<programlisting role="shell">
@ -853,7 +851,7 @@ Additional .ini files parsed: (none)
<entry>
<para>
Show information about the given function or class method (e.g.
number and name of the parameters). Available as of PHP 5.1.2.
number and name of the parameters).
</para>
<para>
This option is only available if PHP was compiled with
@ -884,7 +882,7 @@ Function [ <internal> public function var_dump ] {
<entry>
<para>
Show information about the given class (list of constants, properties
and methods). Available as of PHP 5.1.2.
and methods).
</para>
<para>
This option is only available if PHP was compiled with
@ -933,7 +931,7 @@ Class [ <internal:standard> class Directory ] {
<entry>
<para>
Show information about the given extension (list of &php.ini; options,
defined functions, constants and classes). Available as of PHP 5.1.2.
defined functions, constants and classes).
</para>
<para>
This option is only available if PHP was compiled with
@ -967,7 +965,6 @@ Extension [ <persistent> extension #19 json version 1.2.1 ] {
<para>
Show the configuration information for the given Zend extension (the
same information that is returned by <function>phpinfo</function>).
Available as of PHP 5.4.0.
</para>
</entry>
</row>
@ -978,7 +975,7 @@ Extension [ <persistent> extension #19 json version 1.2.1 ] {
<para>
Show the configuration information for the given extension (the same
information that is returned by <function>phpinfo</function>).
Available as of PHP 5.2.2. The core configuration information
The core configuration information
is available using "main" as extension name.
</para>
<para>
@ -1413,7 +1410,7 @@ php -r 'fwrite(STDERR, "stderr\n");'
<title>Interactive shell</title>
<para>
As of PHP 5.1.0, the &cli.sapi; provides an interactive shell using the
The &cli.sapi; provides an interactive shell using the
<option>-a</option> option if PHP is compiled with the <option
role="configure">--with-readline</option> option.
As of PHP 7.1.0 the interactive shell is also available on Windows, if the
@ -1492,7 +1489,7 @@ php > $foo[TAB]ThisIsAReallyLongVariableName
</para>
<para>
As of PHP 5.4.0, the &cli.sapi; provides
The &cli.sapi; provides
the &php.ini; settings <parameter>cli.pager</parameter> and
<parameter>cli.prompt</parameter>. The <parameter>cli.pager</parameter>
setting allows an external program (such as <filename>less</filename>) to
@ -1502,7 +1499,7 @@ php > $foo[TAB]ThisIsAReallyLongVariableName
</para>
<para>
In PHP 5.4.0 it was also made possible to set
It is also possible to set
&php.ini; settings in the interactive shell using a shorthand notation.
</para>
@ -1614,7 +1611,7 @@ php >
</warning>
<para>
As of PHP 5.4.0, the &cli.sapi; provides a built-in web server.
The &cli.sapi; provides a built-in web server.
</para>
<para>

View file

@ -301,7 +301,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
<term><constant>UPLOAD_ERR_NO_TMP_DIR</constant></term>
<listitem>
<para>
Value: 6; Missing a temporary folder. Introduced in PHP 5.0.3.
Value: 6; Missing a temporary folder.
</para>
</listitem>
</varlistentry>
@ -309,7 +309,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
<term><constant>UPLOAD_ERR_CANT_WRITE</constant></term>
<listitem>
<para>
Value: 7; Failed to write file to disk. Introduced in PHP 5.1.0.
Value: 7; Failed to write file to disk.
</para>
</listitem>
</varlistentry>
@ -319,8 +319,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
<para>
Value: 8; A PHP extension stopped the file upload. PHP does not
provide a way to ascertain which extension caused the file upload to
stop; examining the list of loaded extensions with <function>phpinfo</function> may help.
Introduced in PHP 5.2.0.
stop; examining the list of loaded extensions with <function>phpinfo</function> may help.
</para>
</listitem>
</varlistentry>
@ -372,7 +371,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
<literal>post_max_size</literal> large enough.
</simpara>
<simpara>
As of PHP 5.2.12, the
The
<link linkend="ini.max-file-uploads">max_file_uploads</link> configuration
setting controls the maximum number of files that can uploaded in one
request. If more files are uploaded than the limit, then
@ -456,7 +455,7 @@ foreach ($_FILES["pictures"]["error"] as $key => $error) {
</simpara>
<warning>
<simpara>
As of PHP 5.2.12, the
The
<link linkend="ini.max-file-uploads">max_file_uploads</link>
configuration setting acts as a limit on the number of files that can be
uploaded in one request. You will need to ensure that your form does not

View file

@ -10,8 +10,8 @@
that take a filename as a parameter. In addition, URLs can be
used with the <function>include</function>,
<function>include_once</function>, <function>require</function> and
<function>require_once</function> statements (since PHP 5.2.0,
<option>allow_url_include</option> must be enabled for these).
<function>require_once</function> statements
(<option>allow_url_include</option> must be enabled for these).
See <xref linkend="wrappers"/> for more information about the protocols
supported by PHP.
</para>

View file

@ -277,7 +277,7 @@
original PHP FastCGI (5.2.2+). Makes sense only with a tcp listening socket.
Each address must be separated by a comma. If this value is left blank,
connections will be accepted from any ip address. Default value: any.
IPv6 addresses are allowed since PHP 5.5.20 and 5.6.4.
IPv6 addresses are allowed.
</para>
</listitem>
</varlistentry>
@ -326,7 +326,7 @@
<para>
When POSIX Access Control Lists are supported you can set them using this option.
When set, <literal>listen.owner</literal> and <literal>listen.group</literal>
are ignored. Value is a comma separated list of user names. Since PHP 5.6.5.
are ignored. Value is a comma separated list of user names.
</para>
</listitem>
</varlistentry>
@ -338,7 +338,7 @@
<listitem>
<para>
See <literal>listen.acl_users</literal>.
Value is a comma separated list of group names. Since PHP 5.6.5.
Value is a comma separated list of group names.
</para>
</listitem>
</varlistentry>
@ -682,7 +682,7 @@
Clear environment in FPM workers.
Prevents arbitrary environment variables from reaching FPM worker processes
by clearing the environment in workers before env vars specified in this
pool configuration are added. Since PHP 5.4.27, 5.5.11, and 5.6.0.
pool configuration are added.
Default value: Yes.
</para>
</listitem>

View file

@ -29,7 +29,7 @@
</listitem>
<listitem>
<para>
<literal>--with-fpm-acl</literal> - Use POSIX Access Control Lists (default - no). Since PHP 5.6.5.
<literal>--with-fpm-acl</literal> - Use POSIX Access Control Lists (default - no).
</para>
</listitem>
</itemizedlist>

View file

@ -25,13 +25,12 @@
</listitem>
<listitem>
<simpara>
The <varname>PHPRC</varname> environment variable. Before PHP 5.2.0,
this was checked after the registry key mentioned below.
The <varname>PHPRC</varname> environment variable.
</simpara>
</listitem>
<listitem>
<simpara>
As of PHP 5.2.0, the location of the <literal>php.ini</literal> file
The location of the <literal>php.ini</literal> file
can be set for different versions of PHP. The root of the registry keys depends on 32- or 64-bitness of the installed OS and PHP.
For 32-bit PHP on a 32-bit OS or a 64-bit PHP on a 64-bit OS use <literal>[(HKEY_LOCAL_MACHINE\SOFTWARE\PHP]</literal> for 32-bit version of PHP on a 64-bit OS use <literal>[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\PHP]</literal>] instead.
For same bitness installation the following registry keys
@ -138,7 +137,7 @@ include_path = ".;c:\php\lib"
</example>
</para>
<para>
Since PHP 5.1.0, it is possible to refer to existing .ini variables from
It is possible to refer to existing .ini variables from
within .ini files. Example: <literal>open_basedir = ${open_basedir}
":/new/dir"</literal>.
</para>
@ -148,8 +147,8 @@ include_path = ".;c:\php\lib"
<para>
It is possible to configure PHP to scan for .ini files in a directory
after reading &php.ini;. This can be done at compile time by setting the
<option role="configure">--with-config-file-scan-dir</option> option. In
PHP 5.2.0 and later, the scan directory can then be overridden at run time
<option role="configure">--with-config-file-scan-dir</option> option.
The scan directory can then be overridden at run time
by setting the <varname>PHP_INI_SCAN_DIR</varname> environment variable.
</para>
@ -245,7 +244,7 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
<title>.user.ini files</title>
<simpara>
Since PHP 5.3.0, PHP includes support for configuration INI files on a
PHP includes support for configuration INI files on a
per-directory basis. These files are processed <emphasis>only</emphasis> by
the CGI/FastCGI SAPI. This functionality obsoletes the PECL htscanner
extension. If you are running PHP as Apache module, use &htaccess; files for the same
@ -322,14 +321,13 @@ $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php
<entry>
Entry can be set in user scripts (like with <function>ini_set</function>)
or in the <link linkend="configuration.changes.windows">Windows registry</link>.
Since PHP 5.3, entry can be set in &user-ini;
Entry can be set in &user-ini;
</entry>
</row>
<row>
<entry><literal>PHP_INI_PERDIR</literal></entry>
<entry>
Entry can be set in &php.ini;, &htaccess;, &httpd.conf; or &user-ini;
(since PHP 5.3)
</entry>
</row>
<row>

View file

@ -107,7 +107,7 @@
<listitem>
<simpara>
<constant>SORT_LOCALE_STRING</constant> is used to compare items as
strings, based on the current locale. Added in PHP 5.0.2.
strings, based on the current locale.
</simpara>
</listitem>
</varlistentry>
@ -119,7 +119,7 @@
<listitem>
<simpara>
<constant>SORT_NATURAL</constant> is used to compare items as
strings using "natural ordering" like <function>natsort</function>. Added in PHP 5.4.0.
strings using "natural ordering" like <function>natsort</function>.
</simpara>
</listitem>
</varlistentry>
@ -133,7 +133,7 @@
<constant>SORT_FLAG_CASE</constant> can be combined
(bitwise OR) with
<constant>SORT_STRING</constant> or
<constant>SORT_NATURAL</constant> to sort strings case-insensitively. Added in PHP 5.4.0.
<constant>SORT_NATURAL</constant> to sort strings case-insensitively.
</simpara>
</listitem>
</varlistentry>
@ -151,7 +151,6 @@
<simpara>
<constant>ARRAY_FILTER_USE_KEY</constant> is used with
<function>array_filter</function> to pass each key as the first argument to the given callback function.
Added in PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -164,7 +163,6 @@
<simpara>
<constant>ARRAY_FILTER_USE_BOTH</constant> is used with
<function>array_filter</function> to pass both value and key to the given callback function.
Added in PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>

View file

@ -96,7 +96,6 @@ if (is_subclass_of($WF, 'WidgetFactory')) {
}
// usable only since PHP 5.0.3
if (is_subclass_of('WidgetFactory_Child', 'WidgetFactory')) {
echo "yes, WidgetFactory_Child is a subclass of WidgetFactory\n";
} else {

View file

@ -14,16 +14,6 @@
</para>
</note>
<note>
<title>Experimental DateTime support in PHP 5.1.x</title>
<para>
Although the <classname>DateTime</classname> class (and related functions)
are enabled by default since PHP 5.2.0, it is possible to add experimental
support into PHP 5.1.x by using the following flag before configure/compile:
<literal>CFLAGS=-DEXPERIMENTAL_DATE_SUPPORT=1</literal>
</para>
</note>
</section>
<!-- Keep this comment at the end of the file

View file

@ -4,12 +4,12 @@
&reftitle.constants;
<para>
The <link linkend="datetime.constants.types"><literal>DATE_</literal>
constants</link> are defined since PHP 5.1.1 and they offer standard
constants</link> are defined and they offer standard
date representations, which can be used along with the date format functions
(like <function>date</function>).
</para>
<para>
Following constants exists since PHP 5.1.2 and specify a format returned by
Following constants specify a format returned by
functions <function>date_sunrise</function> and
<function>date_sunset</function>.
</para>

View file

@ -228,7 +228,7 @@
<term><constant>DATE_RFC3339</constant></term>
<listitem>
<simpara>
Same as <constant>DATE_ATOM</constant> (since PHP 5.1.3)
Same as <constant>DATE_ATOM</constant>
</simpara>
</listitem>
</varlistentry>
@ -238,7 +238,7 @@
<term><constant>DATE_RFC3339_EXTENDED</constant></term>
<listitem>
<simpara>
RFC 3339 EXTENDED format (since PHP 7.0.0) (example: 2005-08-15T15:52:01.000+00:00)
RFC 3339 EXTENDED format (example: 2005-08-15T15:52:01.000+00:00)
</simpara>
</listitem>
</varlistentry>

View file

@ -243,7 +243,7 @@
<row>
<entry><literal>v</literal></entry>
<entry>
Milliseconds (added in PHP 7.0.0). Same note applies as for
Milliseconds. Same note applies as for
<literal>u</literal>.
</entry>
<entry>Example: <literal>654</literal></entry>

View file

@ -86,7 +86,7 @@
<programlisting role="php">
<![CDATA[
<?php
// set the default timezone to use. Available since PHP 5.1
// set the default timezone to use.
date_default_timezone_set('UTC');
@ -202,7 +202,7 @@ $today = date("Y-m-d H:i:s"); // 2001-03-10 17:16:18 (the MySQ
<tip>
<para>
Timestamp of the start of the request is available in
<varname>$_SERVER['REQUEST_TIME']</varname> since PHP 5.1.
<varname>$_SERVER['REQUEST_TIME']</varname>.
</para>
</tip>
</refsect1>

View file

@ -52,7 +52,7 @@ Next Week: 2005-04-06
<tip>
<para>
Timestamp of the start of the request is available in
<varname>$_SERVER['REQUEST_TIME']</varname> since PHP 5.1.
<varname>$_SERVER['REQUEST_TIME']</varname>.
</para>
</tip>
</refsect1>

View file

@ -213,7 +213,7 @@
<option role="configure">--with-tcadb[=DIR]</option>.
<note>
<para>
This was added in PHP 5.4.0. The Tokyo Cabinet library can be downloaded from
The Tokyo Cabinet library can be downloaded from
<link xlink:href="&url.tcadb;"/>.
</para>
</note>

View file

@ -132,7 +132,7 @@
<row>
<entry><literal>tcadb</literal></entry>
<entry>
This is available since PHP 5.4.0. The Tokyo Cabinet library can be
The Tokyo Cabinet library can be
downloaded from <link xlink:href="&url.tcadb;"/>.
</entry>
</row>

View file

@ -89,7 +89,7 @@
<entry><literal>F</literal></entry>
<entry>Float</entry>
<entry>A float number</entry>
<entry>Same as <literal>N</literal>. Available as of PHP 5.2.0</entry>
<entry>Same as <literal>N</literal>.</entry>
</row>
<row>
<entry><literal>C</literal></entry>

View file

@ -32,7 +32,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.4.0.
</simpara>
</listitem>
</varlistentry>
@ -43,7 +43,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.4.0.
</simpara>
</listitem>
</varlistentry>
@ -54,7 +54,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.4.0.
</simpara>
</listitem>
</varlistentry>

View file

@ -137,7 +137,7 @@ foreach ($lines as $line_num => $line) {
echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br />\n";
}
// Using the optional flags parameter since PHP 5
// Using the optional flags parameter
$trimmed = file('somefile.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
?>
]]>

View file

@ -116,7 +116,7 @@ $path_parts = pathinfo('/www/htdocs/inc/lib.inc.php');
echo $path_parts['dirname'], "\n";
echo $path_parts['basename'], "\n";
echo $path_parts['extension'], "\n";
echo $path_parts['filename'], "\n"; // since PHP 5.2.0
echo $path_parts['filename'], "\n";
?>
]]>
</programlisting>

View file

@ -26,7 +26,7 @@
<entry><link linkend="ini.allow-url-include">allow_url_include</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.2.0. Deprecated as of PHP 7.4.0.</entry>
<entry>Deprecated as of PHP 7.4.0.</entry>
</row>
<row>
<entry><link linkend="ini.user-agent">user_agent</link></entry>
@ -56,7 +56,7 @@
<entry><link linkend="ini.sys-temp-dir">sys_temp_dir</link></entry>
<entry>""</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.5.0.</entry>
<entry></entry>
</row>
</tbody>
</tgroup>

View file

@ -12,7 +12,7 @@
with some additional features (mostly) useful for heavy-loaded sites.
</para>
<para>
This SAPI is bundled with PHP 5.3.3 and later.
This SAPI is bundled with PHP.
</para>
</preface>

View file

@ -8,11 +8,7 @@
installing PHP.
</para>
<para>
The Windows version of PHP 5 has built-in support for this extension. You do
not need to load any additional extensions in order to use these functions.
</para>
<para>
As of PHP 7.0.0 on Windows this extension is always built as shared extension
On Windows this extension is always built as shared extension
and as such has to be enabled in &php.ini;.
</para>
</section>

View file

@ -115,7 +115,6 @@
<listitem>
<para>
See <function>ftp_set_option</function> for information.
Available as of PHP 5.6.0.
</para>
</listitem>
</varlistentry>

View file

@ -7,7 +7,7 @@
<section xml:id="gmagick.requirements">
&reftitle.required;
<para>
This extension works best with GraphicsMagick version 1.4+ and PHP 5.1.3+.
This extension works best with GraphicsMagick version 1.4+.
Gmagick should work with earlier versions up to GraphicsMagick 1.2.6 but
some features and formats are not supported for these versions.
Windows version of GraphicsMagick is available from the GraphicsMagick

View file

@ -68,7 +68,7 @@ function return_bytes($val) {
$val = trim($val);
$last = strtolower($val[strlen($val)-1]);
switch($last) {
// The 'G' modifier is available since PHP 5.1.0
// The 'G' modifier is available
case 'g':
$val *= 1024;
case 'm':

View file

@ -20,19 +20,19 @@
<entry><link linkend="ini.mail.add-x-header">mail.add_x_header</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_PERDIR</entry>
<entry>Available since PHP 5.3.0.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.mail.log">mail.log</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_PERDIR</entry>
<entry>Available since PHP 5.3.0. (PHP_INI_SYSTEM|PHP_INI_PERDIR)</entry>
<entry>PHP_INI_SYSTEM|PHP_INI_PERDIR</entry>
</row>
<row>
<entry><link linkend="ini.mail.force_extra_parameters">mail.force_extra_parameters</link></entry>
<entry>NULL</entry>
<entry>PHP_INI_PERDIR</entry>
<entry>Available since PHP 5.0.0. (PHP_INI_SYSTEM|PHP_INI_PERDIR)</entry>
<entry>PHP_INI_SYSTEM|PHP_INI_PERDIR</entry>
</row>
<row>
<entry><link linkend="ini.smtp">SMTP</link></entry>

View file

@ -38,15 +38,15 @@
<listitem><simpara>ISO-2022-JP-MS</simpara></listitem>
<listitem><simpara>CP932</simpara></listitem>
<listitem><simpara>CP51932</simpara></listitem>
<listitem><simpara>SJIS-mac** (alias: MacJapanese)</simpara></listitem>
<listitem><simpara>SJIS-Mobile#DOCOMO** (alias: SJIS-DOCOMO)</simpara></listitem>
<listitem><simpara>SJIS-Mobile#KDDI** (alias: SJIS-KDDI)</simpara></listitem>
<listitem><simpara>SJIS-Mobile#SOFTBANK** (alias: SJIS-SOFTBANK)</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#DOCOMO** (alias: UTF-8-DOCOMO)</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#KDDI-A**</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#KDDI-B** (alias: UTF-8-KDDI)</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#SOFTBANK** (alias: UTF-8-SOFTBANK)</simpara></listitem>
<listitem><simpara>ISO-2022-JP-MOBILE#KDDI** (alias: ISO-2022-JP-KDDI)</simpara></listitem>
<listitem><simpara>SJIS-mac (alias: MacJapanese)</simpara></listitem>
<listitem><simpara>SJIS-Mobile#DOCOMO (alias: SJIS-DOCOMO)</simpara></listitem>
<listitem><simpara>SJIS-Mobile#KDDI (alias: SJIS-KDDI)</simpara></listitem>
<listitem><simpara>SJIS-Mobile#SOFTBANK (alias: SJIS-SOFTBANK)</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#DOCOMO (alias: UTF-8-DOCOMO)</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#KDDI-A</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#KDDI-B (alias: UTF-8-KDDI)</simpara></listitem>
<listitem><simpara>UTF-8-Mobile#SOFTBANK (alias: UTF-8-SOFTBANK)</simpara></listitem>
<listitem><simpara>ISO-2022-JP-MOBILE#KDDI (alias: ISO-2022-JP-KDDI)</simpara></listitem>
<listitem><simpara>JIS</simpara></listitem>
<listitem><simpara>JIS-ms</simpara></listitem>
<listitem><simpara>CP50220</simpara></listitem>
@ -77,7 +77,7 @@
<listitem><simpara>8bit</simpara></listitem>
<listitem><simpara>EUC-CN*</simpara></listitem>
<listitem><simpara>CP936</simpara></listitem>
<listitem><simpara>GB18030**</simpara></listitem>
<listitem><simpara>GB18030</simpara></listitem>
<listitem><simpara>HZ</simpara></listitem>
<listitem><simpara>EUC-TW*</simpara></listitem>
<listitem><simpara>CP950</simpara></listitem>
@ -95,9 +95,6 @@
<para>
* denotes encodings usable also in regular expressions.
</para>
<para>
** denotes encodings available since PHP 5.4.0.
</para>
<para>
Any &php.ini; entry which accepts an encoding name
can also use the values &quot;<literal>auto</literal>&quot; and

View file

@ -44,7 +44,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.1.
</simpara>
</listitem>
</varlistentry>

View file

@ -20,55 +20,55 @@
<entry><link linkend="ini.oci8.connection-class">oci8.connection_class</link></entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.3 (PECL OCI8 1.3).</entry>
<entry>Available since PECL OCI8 1.3.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.default-prefetch">oci8.default_prefetch</link></entry>
<entry>"100"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2 (PECL OCI8 1.1).</entry>
<entry>Available since PECL OCI8 1.1.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.events">oci8.events</link></entry>
<entry>Off</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.3 (PECL OCI8 1.3).</entry>
<entry>Available since PECL OCI8 1.3.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.max-persistent">oci8.max_persistent</link></entry>
<entry>"-1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2 (PECL OCI8 1.1).</entry>
<entry>Available since PECL OCI8 1.1.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.old-oci-close-semantics">oci8.old_oci_close_semantics</link></entry>
<entry>Off</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2 (PECL OCI8 1.1).</entry>
<entry>Available since PECL OCI8 1.1.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.persistent-timeout">oci8.persistent_timeout</link></entry>
<entry>"-1"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2 (PECL OCI8 1.1).</entry>
<entry>Available since PECL OCI8 1.1.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.ping-interval">oci8.ping_interval</link></entry>
<entry>"60"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2 (PECL OCI8 1.1).</entry>
<entry>Available since PECL OCI8 1.1.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.privileged-connect">oci8.privileged_connect</link></entry>
<entry>Off</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2 (PECL OCI8 1.1).</entry>
<entry>Available since PECL OCI8 1.1.</entry>
</row>
<row>
<entry><link linkend="ini.oci8.statement-cache-size">oci8.statement_cache_size</link></entry>
<entry>"20"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.1.2 (PECL OCI8 1.1).</entry>
<entry>Available since PECL OCI8 1.1.</entry>
</row>
</tbody>
</tgroup>

View file

@ -180,7 +180,6 @@
<listitem>
<simpara>
This constant is only available when PHP is compiled with OpenSSL 0.9.8+.
Added in PHP 5.2.0.
</simpara>
</listitem>
</varlistentry>
@ -403,7 +402,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.8.
</simpara>
</listitem>
</varlistentry>
@ -414,7 +413,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.8.
</simpara>
</listitem>
</varlistentry>
@ -425,7 +424,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.8.
</simpara>
</listitem>
</varlistentry>
@ -436,7 +435,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.8.
</simpara>
</listitem>
</varlistentry>
@ -447,7 +446,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.8.
</simpara>
</listitem>
</varlistentry>
@ -480,7 +479,7 @@
</term>
<listitem>
<simpara>
As of PHP 5.2.13 and PHP 5.3.2, this constant is only available
This constant is only available
if PHP is compiled with MD2 support. This requires passing in the
-DHAVE_OPENSSL_MD2_H CFLAG when compiling PHP, and enable-md2 when
compiling OpenSSL 1.0.0+.
@ -558,7 +557,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.0.
</simpara>
</listitem>
</varlistentry>
@ -569,7 +568,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.0.
</simpara>
</listitem>
</varlistentry>
@ -580,7 +579,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.4.0.
</simpara>
</listitem>
</varlistentry>
@ -597,7 +596,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.2.0.
</simpara>
</listitem>
</varlistentry>
@ -608,7 +607,7 @@
</term>
<listitem>
<simpara>
Added in PHP 5.2.0.
</simpara>
</listitem>
</varlistentry>

View file

@ -24,9 +24,6 @@
<para>
Indicates that the output buffer is being flushed, and had data to output.
</para>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.php-output-handler-flush">
@ -38,9 +35,6 @@
<para>
Indicates that the buffer has been flushed.
</para>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.php-output-handler-clean">
@ -52,9 +46,6 @@
<para>
Indicates that the output buffer has been cleaned.
</para>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.php-output-handler-final">
@ -66,9 +57,6 @@
<para>
Indicates that this is the final output buffering operation.
</para>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.php-output-handler-cont">
@ -82,7 +70,7 @@
continue.
</para>
<para>
As of PHP 5.4, this is an alias for
This is an alias for
<constant>PHP_OUTPUT_HANDLER_WRITE</constant>.
</para>
</listitem>
@ -97,7 +85,7 @@
Indicates that output buffering has ended.
</para>
<para>
As of PHP 5.4, this is an alias for
This is an alias for
<constant>PHP_OUTPUT_HANDLER_FINAL</constant>.
</para>
</listitem>
@ -112,9 +100,6 @@
Controls whether an output buffer created by
<function>ob_start</function> can be cleaned.
</para>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.php-output-handler-flushable">
@ -127,9 +112,6 @@
Controls whether an output buffer created by
<function>ob_start</function> can be flushed.
</para>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.php-output-handler-removable">
@ -142,9 +124,6 @@
Controls whether an output buffer created by
<function>ob_start</function> can be removed before the end of the script.
</para>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.php-output-handler-stdflags">
@ -159,9 +138,6 @@
<constant>PHP_OUTPUT_HANDLER_FLUSHABLE</constant> |
<constant>PHP_OUTPUT_HANDLER_REMOVABLE</constant>.
</para>
<para>
</para>
</listitem>
</varlistentry>
</variablelist>

View file

@ -13,12 +13,6 @@
to make it easy to create and manage passwords
in a secure manner.
</para>
<para>
This extension is available since PHP 5.5.0 but there is also an <link
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="&url.password.compat;">userland implementation</link> for
PHP >= 5.3.7.
</para>
</preface>
&reference.password.setup;

View file

@ -455,7 +455,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -466,7 +466,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -477,7 +477,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -488,7 +488,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -499,7 +499,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -510,7 +510,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -521,7 +521,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -532,7 +532,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -543,7 +543,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -554,7 +554,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -565,7 +565,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -576,7 +576,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -587,7 +587,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -598,7 +598,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -609,7 +609,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -620,7 +620,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -631,7 +631,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -642,7 +642,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -653,7 +653,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -664,7 +664,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -675,7 +675,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -686,7 +686,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -697,7 +697,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -708,7 +708,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -719,7 +719,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -730,7 +730,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -741,7 +741,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -752,7 +752,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -763,7 +763,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -774,7 +774,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -785,7 +785,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -796,7 +796,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -807,7 +807,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -818,7 +818,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -829,7 +829,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -840,7 +840,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -851,7 +851,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -862,7 +862,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -873,7 +873,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -884,7 +884,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -895,7 +895,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -906,7 +906,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -917,7 +917,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -928,7 +928,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -939,7 +939,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -950,7 +950,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@ -961,7 +961,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>

View file

@ -20,19 +20,19 @@
<entry><link linkend="ini.pcre.backtrack-limit">pcre.backtrack_limit</link></entry>
<entry>"1000000"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.2.0.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pcre.recursion-limit">pcre.recursion_limit</link></entry>
<entry>"100000"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.2.0.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pcre.jit">pcre.jit</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 7.0.0.</entry>
<entry></entry>
</row>
</tbody>
</tgroup>

View file

@ -238,9 +238,8 @@ $html = preg_replace_callback(
treated as UTF-8. An invalid subject will cause the preg_* function to
match nothing; an invalid pattern will trigger an error of
level E_WARNING. Five and six octet UTF-8 sequences are
regarded as invalid since PHP 5.3.4 (resp. PCRE 7.3
2007-08-28); formerly those have been regarded as valid
UTF-8.
regarded as invalid resp. PCRE 7.3 2007-08-28;
formerly those have been regarded as valid UTF-8.
</simpara>
</listitem>
</varlistentry>

View file

@ -4,12 +4,6 @@
<appendix xml:id="pdo.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<warning>
<para>
PDO uses class constants since PHP 5.1. Prior releases use global constants
in the form <constant>PDO_PARAM_BOOL</constant>.
</para>
</warning>
<variablelist>
<varlistentry xml:id="pdo.constants.param-bool">
<term>

View file

@ -85,7 +85,7 @@
<listitem>
<simpara>
Passed to <function>pg_connect</function> to create an asynchronous
connection. Added in PHP 5.6.0.
connection.
</simpara>
</listitem>
</varlistentry>
@ -96,7 +96,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -107,7 +107,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -130,7 +130,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -153,7 +153,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -164,7 +164,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -175,7 +175,7 @@
</term>
<listitem>
<simpara>
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -796,7 +796,6 @@
Apply escape to all parameters instead of calling <function>pg_convert</function>
internally. This option omits meta data look up. Query could be as fast as
<function>pg_query</function> and <function>pg_send_query</function>.
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -809,7 +808,6 @@
<simpara>
Returned by <function>pg_connect_poll</function> to indicate that the
connection attempt failed.
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -822,7 +820,6 @@
<simpara>
Returned by <function>pg_connect_poll</function> to indicate that the
connection is waiting for the PostgreSQL socket to be readable.
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -835,7 +832,6 @@
<simpara>
Returned by <function>pg_connect_poll</function> to indicate that the
connection is waiting for the PostgreSQL socket to be writable.
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -848,7 +844,6 @@
<simpara>
Returned by <function>pg_connect_poll</function> to indicate that the
connection is ready to be used.
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>
@ -861,7 +856,6 @@
<simpara>
Returned by <function>pg_connect_poll</function> to indicate that the
connection is currently active.
Available since PHP 5.6.0.
</simpara>
</listitem>
</varlistentry>

View file

@ -38,19 +38,19 @@
<entry><link linkend="ini.pgsql.auto-reset-persistent">pgsql.auto_reset_persistent</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 4.2.0.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pgsql.ignore-notice">pgsql.ignore_notice</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.3.0.</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.pgsql.log-notice">pgsql.log_notice</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 4.3.0.</entry>
<entry></entry>
</row>
</tbody>
</tgroup>

View file

@ -25,7 +25,7 @@
</term>
<listitem>
<simpara>
Since PHP 5.4.0. Return value of <function>session_status</function> if sessions are disabled.
Return value of <function>session_status</function> if sessions are disabled.
</simpara>
</listitem>
</varlistentry>
@ -36,7 +36,7 @@
</term>
<listitem>
<simpara>
Since PHP 5.4.0. Return value of <function>session_status</function> if sessions are enabled,
Return value of <function>session_status</function> if sessions are enabled,
but no session exists.
</simpara>
</listitem>
@ -48,7 +48,7 @@
</term>
<listitem>
<simpara>
Since PHP 5.4.0. Return value of <function>session_status</function> if sessions are enabled,
Return value of <function>session_status</function> if sessions are enabled,
and a session exists.
</simpara>
</listitem>

View file

@ -91,7 +91,7 @@ if (isset($_SESSION['destroyed'])
$old_sessionid = session_id();
// Set destroyed timestamp
$_SESSION['destroyed'] = time(); // Since PHP 7.0.0 and up, session_regenerate_id() saves old session data
$_SESSION['destroyed'] = time(); // session_regenerate_id() saves old session data
// Simply calling session_regenerate_id() may result in lost session, etc.
// See next example.

View file

@ -472,7 +472,7 @@
which are available on many Unix systems.
</simpara>
<simpara>
This feature is supported on Windows since PHP 5.3.3. Setting
This feature is supported on Windows. Setting
<literal>session.entropy_length</literal> to a non zero value
will make PHP use the Windows Random API as entropy source.
</simpara>
@ -567,7 +567,7 @@
cookies to store the session id on the client side.
Enabling this setting prevents attacks involved passing session
ids in URLs.
Defaults to <literal>1</literal> (enabled) since PHP 5.3.0.
Defaults to <literal>1</literal> (enabled).
</simpara>
</listitem>
</varlistentry>
@ -865,7 +865,7 @@
'1' means SHA-1 (160 bits).
</simpara>
<para>
Since PHP 5.3.0 it is also possible to specify any of the algorithms
It is also possible to specify any of the algorithms
provided by the <link linkend="ref.hash">hash extension</link> (if it is
available), like <literal>sha512</literal> or
<literal>whirlpool</literal>. A complete list of supported algorithms can

View file

@ -217,7 +217,7 @@ My favorite movie.PHP: Behind the Parser
<title>Comparing Two Elements</title>
<simpara>
Two SimpleXMLElements are considered different even if they point to the
same element since PHP 5.2.0.
same element.
</simpara>
<programlisting role="php">
<![CDATA[
@ -226,7 +226,7 @@ include 'example.php';
$movies1 = new SimpleXMLElement($xmlstr);
$movies2 = new SimpleXMLElement($xmlstr);
var_dump($movies1 == $movies2); // false since PHP 5.2.0
var_dump($movies1 == $movies2);
?>
]]>
</programlisting>
@ -327,7 +327,7 @@ echo $movies->asXML();
<example>
<title>Adding elements and attributes</title>
<simpara>
Since PHP 5.1.3, SimpleXML has had the ability to easily add children and
SimpleXML has had the ability to easily add children and
attributes.
</simpara>
<programlisting role="php">

View file

@ -32,16 +32,6 @@
<para>
Path to the XML file
</para>
<note>
<para>
Libxml 2 unescapes the URI, so if you want to pass e.g.
<literal>b&amp;c</literal> as the URI parameter <literal>a</literal>,
you have to call
<literal>simplexml_load_file(rawurlencode('http://example.com/?a=' .
urlencode('b&amp;c')))</literal>. Since PHP 5.1.0 you don't need to do
this because PHP will do it for you.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>

View file

@ -49,7 +49,7 @@
<term><parameter>options</parameter></term>
<listitem>
<para>
Since PHP 5.1.0 and Libxml 2.6.0, you may also use the
Since Libxml 2.6.0, you may also use the
<parameter>options</parameter> parameter to specify <link
linkend="libxml.constants">additional Libxml parameters</link>.
</para>

View file

@ -157,7 +157,7 @@
(<type>int</type>)
</entry>
<entry>0</entry>
<entry>Since PHP 5.5.0.</entry>
<entry></entry>
</row>
<row xml:id="constant.soap-ssl-method-sslv2">
<entry>
@ -165,7 +165,7 @@
(<type>int</type>)
</entry>
<entry>1</entry>
<entry>Since PHP 5.5.0.</entry>
<entry></entry>
</row>
<row xml:id="constant.soap-ssl-method-sslv3">
<entry>
@ -173,7 +173,7 @@
(<type>int</type>)
</entry>
<entry>2</entry>
<entry>Since PHP 5.5.0.</entry>
<entry></entry>
</row>
<row xml:id="constant.soap-ssl-method-sslv23">
<entry>
@ -181,7 +181,7 @@
(<type>int</type>)
</entry>
<entry>3</entry>
<entry>Since PHP 5.5.0.</entry>
<entry></entry>
</row>
<row xml:id="constant.unknown-type">
<entry>

View file

@ -344,7 +344,6 @@
<listitem>
<simpara>
Used to disable Nagle TCP algorithm.
Added in PHP 5.2.7.
</simpara>
</listitem>
</varlistentry>

View file

@ -253,7 +253,7 @@
<row>
<entry><constant>MCAST_JOIN_GROUP</constant></entry>
<entry>
Joins a multicast group. (added in PHP 5.4)
Joins a multicast group.
</entry>
<entry>
<type>array</type> with keys <literal>"group"</literal>, specifying
@ -269,7 +269,7 @@
<row>
<entry><constant>MCAST_LEAVE_GROUP</constant></entry>
<entry>
Leaves a multicast group. (added in PHP 5.4)
Leaves a multicast group.
</entry>
<entry>
<type>array</type>. See <constant>MCAST_JOIN_GROUP</constant> for
@ -282,7 +282,6 @@
<entry>
Blocks packets arriving from a specific source to a specific
multicast group, which must have been previously joined.
(added in PHP 5.4)
</entry>
<entry>
<type>array</type> with the same keys as
@ -297,7 +296,7 @@
<entry>
Unblocks (start receiving again) packets arriving from a specific
source address to a specific multicast group, which must have been
previously joined. (added in PHP 5.4)
previously joined.
</entry>
<entry>
<type>array</type> with the same format as
@ -309,7 +308,7 @@
<entry><constant>MCAST_JOIN_SOURCE_GROUP</constant></entry>
<entry>
Receive packets destined to a specific multicast group whose source
address matches a specific value. (added in PHP 5.4)
address matches a specific value.
</entry>
<entry>
<type>array</type> with the same format as
@ -321,7 +320,7 @@
<entry><constant>MCAST_LEAVE_SOURCE_GROUP</constant></entry>
<entry>
Stop receiving packets destined to a specific multicast group whose
source address matches a specific value. (added in PHP 5.4)
source address matches a specific value.
</entry>
<entry>
<type>array</type> with the same format as
@ -333,7 +332,6 @@
<entry><constant>IP_MULTICAST_IF</constant></entry>
<entry>
The outgoing interface for IPv4 multicast packets.
(added in PHP 5.4)
</entry>
<entry>
Either <type>int</type> specifying the interface number or a
@ -352,7 +350,6 @@
<entry><constant>IPV6_MULTICAST_IF</constant></entry>
<entry>
The outgoing interface for IPv6 multicast packets.
(added in PHP 5.4)
</entry>
<entry>
The same as <constant>IP_MULTICAST_IF</constant>.
@ -366,7 +363,6 @@
receivers in the same host that have joined the same multicast group
on the outgoing interface used by this socket. This is the case by
default.
(added in PHP 5.4)
</entry>
<entry>
<type>int</type> (either <literal>0</literal> or
@ -379,7 +375,6 @@
<entry><constant>IPV6_MULTICAST_LOOP</constant></entry>
<entry>
Analogous to <constant>IP_MULTICAST_LOOP</constant>, but for IPv6.
(added in PHP 5.4)
</entry>
<entry>
<type>int</type>. See <constant>IP_MULTICAST_LOOP</constant>.
@ -391,7 +386,6 @@
The time-to-live of outgoing IPv4 multicast packets. This should be
a value between 0 (don't leave the interface) and 255. The default
value is 1 (only the local network is reached).
(added in PHP 5.4)
</entry>
<entry>
<type>int</type> between 0 and 255.
@ -403,7 +397,6 @@
Analogous to <constant>IP_MULTICAST_TTL</constant>, but for IPv6
packets. The value -1 is also accepted, meaning the route default
should be used.
(added in PHP 5.4)
</entry>
<entry>
<type>int</type> between -1 and 255.

View file

@ -3,12 +3,6 @@
<appendix xml:id="spl.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
&extension.constants;
<warning>
<para>
SPL uses class constants since PHP 5.1. Prior releases use global constants
in the form <constant>RIT_LEAVES_ONLY</constant>.
</para>
</warning>
</appendix>
<!-- Keep this comment at the end of the file

View file

@ -165,7 +165,7 @@ $str = 'one|two|three|four';
// positive limit
print_r(explode('|', $str, 2));
// negative limit (since PHP 5.1)
// negative limit
print_r(explode('|', $str, -1));
?>
]]>

View file

@ -5,7 +5,7 @@
&extension.constants;
<para>
The following constants are meant to be used with
<function>parse_url</function> and are available since PHP 5.1.2.
<function>parse_url</function>.
</para>
<variablelist>
<varlistentry xml:id="constant.php-url-scheme">

View file

@ -157,7 +157,7 @@ var_export($person);
</para>
<para>
<example>
<title>Exporting classes (since PHP 5.1.0)</title>
<title>Exporting classes</title>
<programlisting role="php">
<![CDATA[
<?php
@ -180,7 +180,7 @@ A::__set_state(array(
</para>
<para>
<example>
<title>Using <link linkend="object.set-state">__set_state()</link> (since PHP 5.1.0)</title>
<title>Using <link linkend="object.set-state">__set_state()</link></title>
<programlisting role="php">
<![CDATA[
<?php

View file

@ -3,12 +3,6 @@
<appendix xml:id="xmlreader.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<warning>
<para>
XMLReader uses class constants since PHP 5.1. Prior releases use global
constants in the form <constant>XMLREADER_ELEMENT</constant>.
</para>
</warning>
<table>
<title>XMLReader Node Types</title>
<tgroup cols="3">

View file

@ -10,8 +10,7 @@
<para>
This module uses the functions of <link xlink:href="&url.zlib;">zlib</link>
by Jean-loup Gailly and Mark Adler. You have to use a zlib
version &gt;= 1.0.9 with this module. As of PHP 5.4.0 you have to use zlib
&gt;= 1.2.0.4.
version &gt;= 1.2.0.4 with this module.
</para>
</section>
<!-- }}} -->