mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
b7884d7feb
commit
1a753bdca8
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue