svn: /phpdoc/en/trunk/ appendices/aliases.xml reference/array/functions/array-key-exists.xml
| From: | Adam Harvey | Date: | Fri, 10 Sep 2010 02:53:06 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ appendices/aliases.xml reference/array/functions/array-key-exists.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7092@lists.php.net to get a copy of this message | ||
aharvey Fri, 10 Sep 2010 02:53:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303248
Log:
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".
Bug: http://bugs.php.net/52806 (Assigned) key_exists (alias
of array_key_exists) undocumented
Changed paths:
U phpdoc/en/trunk/appendices/aliases.xml
U phpdoc/en/trunk/reference/array/functions/array-key-exists.xml
Modified: phpdoc/en/trunk/appendices/aliases.xml
===================================================================
--- phpdoc/en/trunk/appendices/aliases.xml 2010-09-10 01:31:48 UTC (rev 303247)
+++ phpdoc/en/trunk/appendices/aliases.xml 2010-09-10 02:53:06 UTC (rev 303248)
@@ -15,9 +15,6 @@
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>
<tgroup cols="3">
@@ -420,6 +417,11 @@
<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>
<entry><link linkend="ref.ming">Ming (flash)</link></entry>
Modified: phpdoc/en/trunk/reference/array/functions/array-key-exists.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-key-exists.xml 2010-09-10 01:31:48 UTC (rev
303247)
+++ phpdoc/en/trunk/reference/array/functions/array-key-exists.xml 2010-09-10 02:53:06 UTC (rev
303248)
@@ -94,12 +94,6 @@
</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 @@
</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>