mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Deprecated functions and constants
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de> Closes GH-981.
This commit is contained in:
parent
5e1a9062c0
commit
8a2141dcc0
16 changed files with 259 additions and 23 deletions
|
@ -300,6 +300,11 @@ xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
|
|||
<emphasis>DEPRECATED</emphasis> as of PHP 8.0.0. Relying on this function
|
||||
is highly discouraged.</simpara></warning>'>
|
||||
|
||||
<!ENTITY warn.deprecated.function-8-1-0 '<warning
|
||||
xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
|
||||
<emphasis>DEPRECATED</emphasis> as of PHP 8.1.0. Relying on this function
|
||||
is highly discouraged.</simpara></warning>'>
|
||||
|
||||
<!ENTITY removed.php.future 'This deprecated feature <emphasis xmlns="http://docbook.org/ns/docbook">will</emphasis>
|
||||
certainly be <emphasis xmlns="http://docbook.org/ns/docbook">removed</emphasis> in the future.'>
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
<refpurpose>Returns time of sunrise for a given day and location</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
|
@ -173,6 +177,12 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated in favor of <function>date_sun_info</function>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
|
@ -175,6 +179,12 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated in favor of <function>date_sun_info</function>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
Parse a time/date generated with <function>strftime</function>
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
|
@ -118,6 +123,32 @@
|
|||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated.
|
||||
Use <function>date_parse_from_format</function> instead (for locale-independent parsing),
|
||||
or <methodname>IntlDateFormatter::parse</methodname> (for locale-dependent parsing)
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -7,6 +7,14 @@
|
|||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<simpara>Signature as of PHP 8.0.0 (not supported with named arguments)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imagefilledpolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>Alternative signature (deprecated as of PHP 8.1.0)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imagefilledpolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
|
@ -14,13 +22,6 @@
|
|||
<methodparam><type>int</type><parameter>num_points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>Alternative signature (as of PHP 8.0.0)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imagefilledpolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>imagefilledpolygon</function> creates a filled polygon
|
||||
in the given <parameter>image</parameter>.
|
||||
|
@ -82,6 +83,12 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
The parameter <parameter>num_points</parameter> has been deprecated.
|
||||
</entry>
|
||||
</row>
|
||||
&gd.changelog.image-param;
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -8,6 +8,14 @@
|
|||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<simpara>Signature as of PHP 8.0.0 (not supported with named arguments)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imageopenpolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>Alternative signature (deprecated as of PHP 8.1.0)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imageopenpolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
|
@ -15,13 +23,6 @@
|
|||
<methodparam><type>int</type><parameter>num_points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>Alternative signature (as of PHP 8.0.0)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imageopenpolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>imageopenpolygon</function> draws an open polygon on the given
|
||||
<parameter>image</parameter>. Contrary to <function>imagepolygon</function>,
|
||||
|
@ -107,6 +108,12 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
The parameter <parameter>num_points</parameter> has been deprecated.
|
||||
</entry>
|
||||
</row>
|
||||
&gd.changelog.image-param;
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -7,6 +7,14 @@
|
|||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<simpara>Signature as of PHP 8.0.0 (not supported with named arguments)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imagepolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>Alternative signature (deprecated as of PHP 8.1.0)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imagepolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
|
@ -14,13 +22,6 @@
|
|||
<methodparam><type>int</type><parameter>num_points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>Alternative signature as of PHP 8.0.0 (not supported with named arguments)</simpara>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imagepolygon</methodname>
|
||||
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>points</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>imagepolygon</function> creates a polygon in the given
|
||||
<parameter>image</parameter>.
|
||||
|
@ -103,6 +104,12 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
The parameter <parameter>num_points</parameter> has been deprecated.
|
||||
</entry>
|
||||
</row>
|
||||
&gd.changelog.image-param;
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
Deprecated as of PHP 8.1.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
<refname>mhash_count</refname>
|
||||
<refpurpose>Gets the highest available hash ID</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -30,6 +34,31 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated.
|
||||
Use the <link linkend="ref.hash"><literal>hash_*()</literal> functions</link> instead.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
<refname>mhash_get_block_size</refname>
|
||||
<refpurpose>Gets the block size of the specified hash</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -41,6 +45,31 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated.
|
||||
Use the <link linkend="ref.hash"><literal>hash_*()</literal> functions</link> instead.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
<refname>mhash_get_hash_name</refname>
|
||||
<refpurpose>Gets the name of the specified hash</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -40,6 +44,31 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated.
|
||||
Use the <link linkend="ref.hash"><literal>hash_*()</literal> functions</link> instead.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
<refname>mhash_keygen_s2k</refname>
|
||||
<refpurpose>Generates a key</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -84,6 +88,32 @@
|
|||
Returns the generated key as a string, or &false; on error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated.
|
||||
Use the <link linkend="ref.hash"><literal>hash_*()</literal> functions</link> instead.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
<refname>mhash</refname>
|
||||
<refpurpose>Computes hash</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -75,6 +79,13 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated.
|
||||
Use the <link linkend="ref.hash"><literal>hash_*()</literal> functions</link> instead.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<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 PECL OCI8 1.1.</entry>
|
||||
<entry>Available since PECL OCI8 1.1. Deprecated as of PHP 8.1.0.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.oci8.persistent-timeout">oci8.persistent_timeout</link></entry>
|
||||
|
|
|
@ -333,6 +333,7 @@
|
|||
<simpara>
|
||||
As <constant>PDO::FETCH_INTO</constant> but object is provided as a serialized string.
|
||||
The class constructor is never called if this flag is set.
|
||||
Deprecated as of PHP 8.1.0.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
<refname>odbc_result_all</refname>
|
||||
<refpurpose>Print result as HTML table</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
&warn.deprecated.function-8-1-0;
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
|
@ -51,6 +56,31 @@
|
|||
Returns the number of rows in the result or &false; on error.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.1.0</entry>
|
||||
<entry>
|
||||
This function has been deprecated.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
Loading…
Reference in a new issue