1
0
mirror of https://github.com/php/doc-it.git synced 2026-03-26 08:32:15 +01:00
Files
archived-doc-it/reference/array/functions/array-key-exists.xml
Marco Cucinato 6ea73f9874 Sync to EN version
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@86664 c90b9560-bf6c-de11-be94-00142212c4b1
2002-06-25 00:07:35 +00:00

69 lines
2.1 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/array.xml, last change in rev 1.27 -->
<!-- last change to 'array-key-exists' in en/ tree in rev 1.119 -->
<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.173/EN.1.119 -->
<refentry id="function.array-key-exists">
<refnamediv>
<refname>array_key_exists</refname>
<refpurpose>Controlla se l'indice (o chiave) specificato esiste nell'array</refpurpose>
</refnamediv>
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
<type>bool</type><methodname>array_key_exists</methodname>
<methodparam><type>mixed</type><parameter>chiave</parameter></methodparam>
<methodparam><type>array</type><parameter>cerca</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_key_exists</function> restituisce &true; se il
parametro <parameter>chiave</parameter> esiste nell'array.
<parameter>chiave</parameter> pu&ograve; essere qualsiasi valore accettabile
per un indice di array.
</para>
<para>
<example>
<title>esempio di <function>array_key_exists</function></title>
<programlisting role="php">
<![CDATA[
$un_array = array("primo" => 1, "secondo" => 4);
if (array_key_exists("primo", $un_array)) {
echo "L'elemento 'primo' è nell'array";
}
]]>
</programlisting>
</example>
</para>
<note>
<simpara>
Il nome di questa funzione &egrave; <function>key_exists</function>
nel PHP versione 4.0.6.
</simpara>
</note>
<para>
Vedere anche <function>isset</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->