[PHP-DOC] cvs: phpdoc /it/functions array.xml
by Marco Cucinato other posts by this author
Dec 21 2001 12:00AM messages near this date
[PHP-DOC] cvs: phpdoc /de/functions regex.xml
|
[PHP-DOC] cvs: phpdoc /en/functions xml.xml
cucinato Thu Dec 20 19:00:51 2001 EDT
Modified files:
/phpdoc/it/functions array.xml
Log:
Synced with EN revision
Index: phpdoc/it/functions/array.xml
diff -u phpdoc/it/functions/array.xml:1.35 phpdoc/it/functions/array.xml:1.36
--- phpdoc/it/functions/array.xml:1.35 Thu Dec 20 17:54:07 2001
+++ phpdoc/it/functions/array.xml Thu Dec 20 19:00:50 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
- <!-- EN-Revision: 1.140 Maintainer: cucinato Status: ready -->
+ <!-- EN-Revision: 1.141 Maintainer: cucinato Status: ready -->
<reference id="ref.array">
<title> Funzioni di Array</title>
<titleabbrev> Arrays</titleabbrev>
@@ -2613,6 +2613,12 @@
controllerà anche il <link linkend="language.types"> tipo</link> di <parameter>a
go</parameter>
nell'array <parameter> haystack</parameter>.
</para>
+ <note>
+ <para>
+ Se <parameter> ago</parameter> è una stringa, il confronto è effettuato
+ tenendo conto delle maiuscole/minuscole.
+ </para>
+ </note>
<para>
<example>
<title> esempio di <function>in_array</function></title>
@@ -2621,6 +2627,9 @@
$os = array ("Mac", "NT", "Irix", "Linux");
if (in_array ("Irix", $os)){
print "trovato Irix";
+}
+if (in_array ("mac", $os)) { # fallisce perché in_array() valuta le maiuscole/minuscole
+ print "Trovato mac";
}
]]>
</programlisting>
|