cvs: phpdoc-it /reference/array/functions array-change-key-case.xml array-chunk.xml

From: Date: Sat, 09 Aug 2003 10:39:54 +0000
Subject: cvs: phpdoc-it /reference/array/functions array-change-key-case.xml array-chunk.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-450@lists.php.net to get a copy of this message
cucinato Sat Aug 9 06:39:54 2003 EDT Modified files: /phpdoc-it/reference/array/functions array-change-key-case.xml array-chunk.xml Log: Sync to EN revision Index: phpdoc-it/reference/array/functions/array-change-key-case.xml diff -u phpdoc-it/reference/array/functions/array-change-key-case.xml:1.4 phpdoc-it/reference/array/functions/array-change-key-case.xml:1.5 --- phpdoc-it/reference/array/functions/array-change-key-case.xml:1.4 Mon Dec 9 19:33:18 2002 +++ phpdoc-it/reference/array/functions/array-change-key-case.xml Sat Aug 9 06:39:54 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.24 --> <!-- last change to 'array-change-key-case' in en/ tree in rev 1.113 --> -<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.10 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.113 --> <refentry id="function.array-change-key-case"> <refnamediv> @@ -30,13 +30,16 @@ <title>esempio di <function>array_change_key_case</function></title> <programlisting role="php"> <![CDATA[ +<?php $input_array = array("PriMo" => 1, "SecOndO" => 4); print_r(array_change_key_case($input_array, CASE_UPPER)); +?> ]]> </programlisting> <para> Il risultato di questo programma sarà: - <screen> + </para> + <screen> <![CDATA[ Array ( @@ -44,9 +47,13 @@ [SECONDO] => 2 ) ]]> - </screen> - </para> + </screen> </example> + <para> + Se un array ha degli indici che risulteranno identici dopo l'esecuzione + di questa funzione (es. "keY" e "kEY") il valore dell'ultimo indice + sovrascrivera' gli altri. + </para> </refsect1> </refentry> Index: phpdoc-it/reference/array/functions/array-chunk.xml diff -u phpdoc-it/reference/array/functions/array-chunk.xml:1.4 phpdoc-it/reference/array/functions/array-chunk.xml:1.5 --- phpdoc-it/reference/array/functions/array-chunk.xml:1.4 Mon Dec 9 19:33:18 2002 +++ phpdoc-it/reference/array/functions/array-chunk.xml Sat Aug 9 06:39:54 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.24 --> <!-- last change to 'array-chunk' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.2 --> <refentry id="function.array-chunk"> <refnamediv> @@ -35,14 +35,17 @@ <title>esempio di <function>array_chunk</function></title> <programlisting role="php"> <![CDATA[ +<?php $input_array = array('a', 'b', 'c', 'd', 'e'); print_r(array_chunk($input_array, 2)); print_r(array_chunk($input_array, 2, TRUE)); +?> ]]> </programlisting> <para> Il risultato di questo programma sar&agrave;: - <screen> + </para> + <screen> <![CDATA[ Array ( @@ -85,8 +88,7 @@ ) ]]> - </screen> - </para> + </screen> </example> </refsect1> </refentry>

« previous php.doc.it (#450) next »