cvs: phpdoc-fr /reference/array/functions array-merge.xml

From: Date: Thu, 23 Dec 2004 16:29:03 +0000
Subject: cvs: phpdoc-fr /reference/array/functions array-merge.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3764@lists.php.net to get a copy of this message
dams Thu Dec 23 11:29:03 2004 EDT Modified files: /phpdoc-fr/reference/array/functions array-merge.xml Log: fixing build http://cvs.php.net/diff.php/phpdoc-fr/reference/array/functions/array-merge.xml?r1=1.26&r2=1.27&ty=u Index: phpdoc-fr/reference/array/functions/array-merge.xml diff -u phpdoc-fr/reference/array/functions/array-merge.xml:1.26 phpdoc-fr/reference/array/functions/array-merge.xml:1.27 --- phpdoc-fr/reference/array/functions/array-merge.xml:1.26 Thu Dec 23 10:51:06 2004 +++ phpdoc-fr/reference/array/functions/array-merge.xml Thu Dec 23 11:29:03 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.26 $ --> +<!-- $Revision: 1.27 $ --> <!-- EN-Revision: 1.15 Maintainer: dams Status: ready --> <refentry id="function.array-merge"> <refnamediv> @@ -154,39 +154,39 @@ par les clés identiques suivantes. </para> </note> -    <warning> -     <para> -      Le comportement de <function>array_merge</function> a été modifié en &php; 5.  - Contrairement à &php; 4, <function>array_merge</function> n'accepte que - des paramètres de type <type>array</type>. Cependant, vous pouvez utiliser + <warning> + <para> + Le comportement de <function>array_merge</function> a été modifié en &php; 5. + Contrairement à &php; 4, <function>array_merge</function> n'accepte que + des paramètres de type <type>array</type>. Cependant, vous pouvez utiliser le transtypage pour fusionner les autres de types de valeurs. Voyez l'exemple ci-dessous. -     </para> -     <para> -      <example> -       <title>Exemple avec <function>array_merge</function> en &php; 5</title> -       <programlisting role="php"> + </para> + <para> + <example> + <title>Exemple avec <function>array_merge</function> en &php; 5</title> + <programlisting role="php"> <![CDATA[ <?php -$beginning = 'foo'; -$end = array(1 => 'bar'); -$result = array_merge((array)$beginning, (array)$end); +$beginning = 'foo'; +$end = array(1 => 'bar'); +$result = array_merge((array)$beginning, (array)$end); ?> ]]> -       </programlisting> -       &example.outputs; -       <screen role="php"> + </programlisting> + &example.outputs; + <screen role="php"> <![CDATA[ Array ( -    [0] => foo -    [1] => bar + [0] => foo + [1] => bar ) ]]> -       </screen> -      </example> -     </para> -    </warning> + </screen> + </example> + </para> + </warning> <para> Voir aussi <function>array_merge_recursive</function>,

« previous php.doc.fr (#3764) next »