jimw Sat Jan 20 17:11:24 2001 EDT Modified files: /phpdoc/fr/functions errorfunc.xml funchand.xml /phpdoc/fr/language variables.xml Log: make french version build again Index: phpdoc/fr/functions/errorfunc.xml diff -u phpdoc/fr/functions/errorfunc.xml:1.7 phpdoc/fr/functions/errorfunc.xml:1.8 --- phpdoc/fr/functions/errorfunc.xml:1.7 Fri Jan 19 00:53:23 2001 +++ phpdoc/fr/functions/errorfunc.xml Sat Jan 20 17:11:24 2001 @@ -383,7 +383,7 @@ </example> L'éxécution du script devrait donner ceci : <informalexample> - <computeroutput> + <programlisting> vector a Array ( @@ -415,7 +415,7 @@ <B>FATAL</B> [256] log(x) de x <= 0 est indéfini : scale = -2.5<br> Erreur fatale à la ligne 16 du fichier trigger_error.php, PHP 4.0.1pl2 (Linux)<br> Annulation du script....<br> - </computeroutput> + </programlisting> </informalexample> </para> <para> Index: phpdoc/fr/functions/funchand.xml diff -u phpdoc/fr/functions/funchand.xml:1.5 phpdoc/fr/functions/funchand.xml:1.6 --- phpdoc/fr/functions/funchand.xml:1.5 Fri Jan 19 00:53:23 2001 +++ phpdoc/fr/functions/funchand.xml Sat Jan 20 17:11:24 2001 @@ -135,7 +135,7 @@ </example> Et lorsque vous utilisez le code ci dessus, l'affichage va être <informalexample> - <computeroutput> + <programlisting> Utilisation de la première liste de fonctions anonymes paramétres: 2.3445, M_PI Un peu de trigo: -1.6291725057799 @@ -148,7 +148,7 @@ ** Ces chaînes de ressemblent!! (regarde les trois premiers caractères) CRCs: -725381282 , 1908338681 similarité(a,b) = 11(45.833333333333%) - </computeroutput> + </programlisting> </informalexample> Mais l'utilisation la plus courante des fonctions lambda est la fonction de callback, par exemple lors de l'utilisation de Index: phpdoc/fr/language/variables.xml diff -u phpdoc/fr/language/variables.xml:1.13 phpdoc/fr/language/variables.xml:1.14 --- phpdoc/fr/language/variables.xml:1.13 Fri Jan 19 00:51:16 2001 +++ phpdoc/fr/language/variables.xml Sat Jan 20 17:11:24 2001 @@ -29,7 +29,7 @@ echo "$var, $Var"; // affiche "Jean, Paul" $4site = 'pas encore'; // invalide : commence par un nombre $_4site = 'pas encore'; // valide : commence par un souligné -$t”yte = 'mansikka'; // valid; '”' is ASCII 228. +$täyte = 'mansikka'; // valid; 'ä' is ASCII 228. ?> </programlisting> </informalexample>