svn: /phpdoc/fr/trunk/reference/ mysqli/mysqli/set-charset.xml reflection/reflectionclass/getmethods.xml reflection/reflectionextension/getclasses.xml

From: Date: Tue, 15 Dec 2020 17:51:30 +0000
Subject: svn: /phpdoc/fr/trunk/reference/ mysqli/mysqli/set-charset.xml reflection/reflectionclass/getmethods.xml reflection/reflectionextension/getclasses.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-13403@lists.php.net to get a copy of this message
girgias Tue, 15 Dec 2020 17:51:30 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=352098 Log: Update some examples in FR Provided by villfa Changed paths: U phpdoc/fr/trunk/reference/mysqli/mysqli/set-charset.xml U phpdoc/fr/trunk/reference/reflection/reflectionclass/getmethods.xml U phpdoc/fr/trunk/reference/reflection/reflectionextension/getclasses.xml Modified: phpdoc/fr/trunk/reference/mysqli/mysqli/set-charset.xml =================================================================== --- phpdoc/fr/trunk/reference/mysqli/mysqli/set-charset.xml 2020-12-15 17:42:06 UTC (rev 352097) +++ phpdoc/fr/trunk/reference/mysqli/mysqli/set-charset.xml 2020-12-15 17:51:30 UTC (rev 352098) @@ -92,9 +92,9 @@ printf("Jeu de caractère initial : %s\n", $mysqli->character_set_name()); -/* Modification du jeu de résultats en utf8 */ -if (!$mysqli->set_charset("utf8")) { - printf("Erreur lors du chargement du jeu de caractères utf8 : %s\n", $mysqli->error); +/* Modification du jeu de résultats en utf8mb4 */ +if (!$mysqli->set_charset("utf8mb4")) { + printf("Erreur lors du chargement du jeu de caractères utf8mb4 : %s\n", $mysqli->error); exit(); } else { printf("Jeu de caractères courant : %s\n", $mysqli->character_set_name()); @@ -118,9 +118,9 @@ printf("Jeu de caractère initial : %s\n", mysqli_character_set_name($link)); -/* Modification du jeu de résultats en utf8 */ -if (!mysqli_set_charset($link, "utf8")) { - printf("Erreur lors du chargement du jeu de caractères utf8 : %s\n", mysqli_error($link)); +/* Modification du jeu de résultats en utf8mb4 */ +if (!mysqli_set_charset($link, "utf8mb4")) { + printf("Erreur lors du chargement du jeu de caractères utf8mb4 : %s\n", mysqli_error($link)); exit(); } else { printf("Jeu de caractères courant : %s\n", mysqli_character_set_name($link)); @@ -134,7 +134,7 @@ <screen> <![CDATA[ Jeu de caractère initial : latin1 -Jeu de caractères courant : utf8 +Jeu de caractères courant : utf8mb4 ]]> </screen> </example> Modified: phpdoc/fr/trunk/reference/reflection/reflectionclass/getmethods.xml =================================================================== --- phpdoc/fr/trunk/reference/reflection/reflectionclass/getmethods.xml 2020-12-15 17:42:06 UTC (rev 352097) +++ phpdoc/fr/trunk/reference/reflection/reflectionclass/getmethods.xml 2020-12-15 17:51:30 UTC (rev 352098) @@ -89,7 +89,7 @@ <![CDATA[ array(3) { [0]=> - &object(ReflectionMethod)#2 (2) { + object(ReflectionMethod)#2 (2) { ["name"]=> string(11) "firstMethod" ["class"]=> @@ -96,7 +96,7 @@ string(5) "Apple" } [1]=> - &object(ReflectionMethod)#3 (2) { + object(ReflectionMethod)#3 (2) { ["name"]=> string(12) "secondMethod" ["class"]=> @@ -103,7 +103,7 @@ string(5) "Apple" } [2]=> - &object(ReflectionMethod)#4 (2) { + object(ReflectionMethod)#4 (2) { ["name"]=> string(11) "thirdMethod" ["class"]=> @@ -137,7 +137,7 @@ <![CDATA[ array(2) { [0]=> - &object(ReflectionMethod)#2 (2) { + object(ReflectionMethod)#2 (2) { ["name"]=> string(12) "secondMethod" ["class"]=> @@ -144,7 +144,7 @@ string(5) "Apple" } [1]=> - &object(ReflectionMethod)#3 (2) { + object(ReflectionMethod)#3 (2) { ["name"]=> string(11) "thirdMethod" ["class"]=> Modified: phpdoc/fr/trunk/reference/reflection/reflectionextension/getclasses.xml =================================================================== --- phpdoc/fr/trunk/reference/reflection/reflectionextension/getclasses.xml 2020-12-15 17:42:06 UTC (rev 352097) +++ phpdoc/fr/trunk/reference/reflection/reflectionextension/getclasses.xml 2020-12-15 17:51:30 UTC (rev 352098) @@ -52,7 +52,7 @@ <![CDATA[ array(1) { ["XMLWriter"]=> - &object(ReflectionClass)#2 (1) { + object(ReflectionClass)#2 (1) { ["name"]=> string(9) "XMLWriter" }

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