cvs: phpdoc-it /reference/array/functions array-fill.xml array-filter.xml array-flip.xml array-walk.xml
| From: | Marco Cucinato | Date: | Sun, 04 May 2003 14:12:50 +0000 |
| Subject: | cvs: phpdoc-it /reference/array/functions array-fill.xml array-filter.xml array-flip.xml array-walk.xml | ||
| Groups: | php.doc.it | ||
| Request: | Send a blank email to doc-it+get-350@lists.php.net to get a copy of this message | ||
cucinato Sun May 4 10:12:50 2003 EDT
Modified files:
/phpdoc-it/reference/array/functions array-fill.xml
array-filter.xml
array-flip.xml array-walk.xml
Log:
sync to EN tree
Index: phpdoc-it/reference/array/functions/array-fill.xml
diff -u phpdoc-it/reference/array/functions/array-fill.xml:1.4
phpdoc-it/reference/array/functions/array-fill.xml:1.5
--- phpdoc-it/reference/array/functions/array-fill.xml:1.4 Sun Feb 9 13:57:08 2003
+++ phpdoc-it/reference/array/functions/array-fill.xml Sun May 4 10:12:50 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/array.xml, last change in rev 1.6 -->
<!-- last change to 'array-fill' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready -->
+<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.173/EN.1.2 -->
<refentry id="function.array-fill">
<refnamediv>
@@ -20,7 +20,9 @@
<function>array_fill</function> riempie un array con
<parameter>num</parameter> elementi inizializzati con il valore del
parametro <parameter>valore</parameter>, e con le chiavi che partono dal
- valore del parametro <parameter>start_index</parameter>.
+ valore del parametro <parameter>start_index</parameter>. Si noti che
<parameter>
+ num</parameter> deve essere un valore maggiore di zero, altrimenti PHP mostrerà
+ un avvertimento.
</para>
<para>
<example>
Index: phpdoc-it/reference/array/functions/array-filter.xml
diff -u phpdoc-it/reference/array/functions/array-filter.xml:1.4
phpdoc-it/reference/array/functions/array-filter.xml:1.5
--- phpdoc-it/reference/array/functions/array-filter.xml:1.4 Fri Nov 1 08:35:29 2002
+++ phpdoc-it/reference/array/functions/array-filter.xml Sun May 4 10:12:50 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready -->
+<!-- EN-Revision: 1.9 Maintainer: cucinato Status: ready -->
<!-- splitted from ./it/functions/array.xml, last change in rev 1.1 -->
<!-- last change to 'array-filter' in en/ tree in rev 1.62 -->
<!-- OLD-Revision: 1.173/EN.1.62 -->
@@ -18,11 +18,12 @@
<methodparam
choice="opt"><type>callback</type><parameter>funzione</parameter></methodparam>
</methodsynopsis>
<para>
- <function>array_filter</function> restituisce un array
- contenente tutti gli elementi di <parameter>input</parameter>
- filtrati attraverso una <parameter>funzione</parameter> callback. Se
- <parameter>input</parameter> è un array associativo
- le chiavi sono mantenute.
+ <function>array_filter</function> esegue un'iterazione su ogni valore
+ nell' array <parameter>input</parameter> passandolo alla
+ <parameter>funzione</parameter>. Se <parameter>
+ funzione</parameter> restituisce &true;, il valore corrente
+ di <parameter>input</parameter> viene restituito nell'array
+ risultato. Le chiavi sono mantenute.
</para>
<para>
<example>
Index: phpdoc-it/reference/array/functions/array-flip.xml
diff -u phpdoc-it/reference/array/functions/array-flip.xml:1.5
phpdoc-it/reference/array/functions/array-flip.xml:1.6
--- phpdoc-it/reference/array/functions/array-flip.xml:1.5 Sun Feb 9 13:57:09 2003
+++ phpdoc-it/reference/array/functions/array-flip.xml Sun May 4 10:12:50 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/array.xml, last change in rev 1.21 -->
<!-- last change to 'array-flip' in en/ tree in rev 1.107 -->
-<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready -->
+<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.173/EN.1.107 -->
<refentry id="function.array-flip">
<refnamediv>
Index: phpdoc-it/reference/array/functions/array-walk.xml
diff -u phpdoc-it/reference/array/functions/array-walk.xml:1.6
phpdoc-it/reference/array/functions/array-walk.xml:1.7
--- phpdoc-it/reference/array/functions/array-walk.xml:1.6 Tue Feb 4 13:47:30 2003
+++ phpdoc-it/reference/array/functions/array-walk.xml Sun May 4 10:12:50 2003
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- splitted from ./it/functions/array.xml, last change in rev 1.1 -->
<!-- last change to 'array-walk' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.8 Maintainer: cucinato Status: ready -->
+<!-- EN-Revision: 1.10 Maintainer: cucinato Status: ready -->
<!-- OLD-Revision: 1.173/EN.1.2 -->
<refentry id="function.array-walk">
<refnamediv>
@@ -13,11 +13,14 @@
<refsect1>
<title>Descrizione</title>
<methodsynopsis>
- <type>int</type><methodname>array_walk</methodname>
+ <type>bool</type><methodname>array_walk</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam><type>callback</type><parameter>funzione</parameter></methodparam>
<methodparam
choice="opt"><type>mixed</type><parameter>datiutente</parameter></methodparam>
</methodsynopsis>
+ <simpara>
+ &return.success;
+ </simpara>
<simpara>
Esegue la funzione definita dall'utente identificata da
<parameter>funzione</parameter>
su ogni elemento di <parameter>array</parameter>. Normalmente