eschmid Tue Jan 16 14:42:26 2001 EDT Modified files: /phpdoc/fr/functions array.xml classobj.xml Log: Now it is again error free. Will report the error messages later. Index: phpdoc/fr/functions/array.xml diff -u phpdoc/fr/functions/array.xml:1.16 phpdoc/fr/functions/array.xml:1.17 --- phpdoc/fr/functions/array.xml:1.16 Tue Jan 16 02:38:37 2001 +++ phpdoc/fr/functions/array.xml Tue Jan 16 14:42:25 2001 @@ -89,7 +89,7 @@ </example> qui affichera : <informalexample> - <computeroutput> + <programlisting> Array ( [0] => 1 @@ -100,8 +100,10 @@ [8] => 1 [9] => 19 ) - </computeroutput> + </programlisting> </informalexample> + </para> + <para> Notez bien que l'index '3' est défini deux fois, et conserve finalement sa dernière valeur de 13. L'index '4' est défini après l'index '8', et l'index généré suivant (valeur 19) est @@ -120,14 +122,14 @@ </example> qui affichera : <informalexample> - <computeroutput> + <screen> Array ( [1] => 'Janvier' [2] => 'Février' [3] => 'Mars' ) - </computeroutput> + </screen> </informalexample> </para> <para> @@ -1833,18 +1835,22 @@ if (in_array(1.13, $a, <literal>TRUE</literal>)) echo "1.13 trouvé avec une recherche stricte\n"; ?> - </programlisting> - L'affichage sera : - <computeroutput> -1.13 trouvé avec une recherche stricte - </computeroutput> + </programlisting> </example> - <note> - <para> - <function>in_array</function> a été ajoutée dans PHP 4.0. - </para> - </note> </para> + <para> + L'affichage sera : + </para> + <informalexample> + <screen> +1.13 trouvé avec une recherche stricte + </screen> + </informalexample> + <note> + <para> + <function>in_array</function> a été ajoutée dans PHP 4.0. + </para> + </note> </refsect1> </refentry> <refentry id="function.key"> @@ -2062,7 +2068,7 @@ </para> <para> <informalexample> - <computeroutput> + <programlisting> Tri Standard Array ( @@ -2080,7 +2086,7 @@ [0] => img12.png ) ?> - </computeroutput> + </programlisting> </informalexample> Pour plus de détails, rendez vous sur le site de Martin Pool <ulink url="&url.strnatcmp;">Natural Order String Comparison</ulink>. Index: phpdoc/fr/functions/classobj.xml diff -u phpdoc/fr/functions/classobj.xml:1.5 phpdoc/fr/functions/classobj.xml:1.6 --- phpdoc/fr/functions/classobj.xml:1.5 Tue Jan 16 02:38:38 2001 +++ phpdoc/fr/functions/classobj.xml Tue Jan 16 14:42:26 2001 @@ -122,12 +122,12 @@ </para> <para> <informalexample> - <computeroutput> + <screen> [...] Parentée: L'objet feuilles n'est pas une sous classe Spinach L'objet feuilles est une sous-classe de Legume - </computeroutput> + </screen> </informalexample> </para> </sect2>