mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
array-key-exists.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265831 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
729d597662
commit
b47434c5b2
1 changed files with 28 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.array-key-exists">
|
||||
<refnamediv>
|
||||
<refname>array_key_exists</refname>
|
||||
|
@ -17,8 +17,7 @@
|
|||
<function>array_key_exists</function> returns &true; if the
|
||||
given <parameter>key</parameter> is set in the array.
|
||||
<parameter>key</parameter> can be any value possible
|
||||
for an array index. <function>array_key_exists</function> also works
|
||||
on objects.
|
||||
for an array index.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -53,6 +52,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>5.3.0</entry>
|
||||
<entry>
|
||||
This function doesn't work with objetcs anymore,
|
||||
<function>property_exists()</function> should be used in this case.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
@ -106,6 +130,7 @@ array_key_exists('first', $search_array);
|
|||
<member><function>isset</function></member>
|
||||
<member><function>array_keys</function></member>
|
||||
<member><function>in_array</function></member>
|
||||
<member><function>property_exists</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
Loading…
Reference in a new issue