typo ("objetcs") and indentation fix

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271180 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mark Wiesemann 2008-12-13 18:43:26 +00:00
parent b7884d7feb
commit 1a753bdca8

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.16 $ -->
<!-- $Revision: 1.17 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.array-key-exists">
<refnamediv>
<refname>array_key_exists</refname>
@ -67,7 +67,7 @@
<row>
<entry>5.3.0</entry>
<entry>
This function doesn't work with objetcs anymore,
This function doesn't work with objects anymore,
<function>property_exists</function> should be used in this case.
</entry>
</row>
@ -107,7 +107,7 @@ if (array_key_exists('first', $search_array)) {
that correspond to a &null; value, while
<function>array_key_exists</function> does.
</para>
<programlisting role="php">
<programlisting role="php">
<![CDATA[
<?php
$search_array = array('first' => null, 'second' => 4);
@ -119,7 +119,7 @@ isset($search_array['first']);
array_key_exists('first', $search_array);
?>
]]>
</programlisting>
</programlisting>
</example>
</refsect1>