mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix doc bug #52806 (key_exists (alias of array_key_exists) undocumented) by
adding key_exists() to the list of function aliases and moving the note about the deprecated alias to the normal place on the array_key_exists() manual page. Also removed the now horribly out of date note on the function alias list about it being correct "as of 4.0.6". git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303248 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e85170b86f
commit
90783beb49
2 changed files with 15 additions and 9 deletions
|
@ -14,9 +14,6 @@
|
|||
renaming, which will lead to unportable script. This list is provided
|
||||
to help those who want to upgrade their old scripts to newer syntax.
|
||||
</para>
|
||||
<para>
|
||||
This list is consistent with PHP 4.0.6.
|
||||
</para>
|
||||
<para>
|
||||
<table>
|
||||
<title>Aliases</title>
|
||||
|
@ -419,6 +416,11 @@
|
|||
<entry><function>implode</function></entry>
|
||||
<entry>Base syntax</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>key_exists</entry>
|
||||
<entry><function>array_key_exists</function></entry>
|
||||
<entry>Base syntax</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>labelframe</entry>
|
||||
<entry><function>swfmovie_labelFrame</function></entry>
|
||||
|
|
|
@ -94,12 +94,6 @@ if (array_key_exists('first', $search_array)) {
|
|||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
The name of this function is <function>key_exists</function>
|
||||
in PHP 4.0.6.
|
||||
</simpara>
|
||||
</note>
|
||||
<example>
|
||||
<title><function>array_key_exists</function> vs <function>isset</function></title>
|
||||
<para>
|
||||
|
@ -123,6 +117,16 @@ array_key_exists('first', $search_array);
|
|||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
&info.deprecated.alias;
|
||||
<function>key_exists</function>
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue