cvs: phpdoc-fr / language-snippets.ent /reference/info/functions ini-get.xml /reference/strings/functions substr.xml
| From: | Yannick Torres | Date: | Sat, 07 Jun 2008 07:56:51 +0000 |
| Subject: | cvs: phpdoc-fr / language-snippets.ent /reference/info/functions ini-get.xml /reference/strings/functions substr.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-6023@lists.php.net to get a copy of this message | ||
yannick Sat Jun 7 07:56:51 2008 UTC
Modified files:
/phpdoc-fr language-snippets.ent
/phpdoc-fr/reference/info/functions ini-get.xml
/phpdoc-fr/reference/strings/functions substr.xml
Log:
syn with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/language-snippets.ent?r1=1.192&r2=1.193&diff_format=u
Index: phpdoc-fr/language-snippets.ent
diff -u phpdoc-fr/language-snippets.ent:1.192 phpdoc-fr/language-snippets.ent:1.193
--- phpdoc-fr/language-snippets.ent:1.192 Thu Jun 5 20:12:43 2008
+++ phpdoc-fr/language-snippets.ent Sat Jun 7 07:56:50 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.192 $ -->
-<!-- EN-Revision: 1.226 Maintainer: yannick Status: ready -->
+<!-- $Revision: 1.193 $ -->
+<!-- EN-Revision: 1.227 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!--
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/info/functions/ini-get.xml?r1=1.20&r2=1.21&diff_format=u
Index: phpdoc-fr/reference/info/functions/ini-get.xml
diff -u phpdoc-fr/reference/info/functions/ini-get.xml:1.20
phpdoc-fr/reference/info/functions/ini-get.xml:1.21
--- phpdoc-fr/reference/info/functions/ini-get.xml:1.20 Mon May 12 10:56:49 2008
+++ phpdoc-fr/reference/info/functions/ini-get.xml Sat Jun 7 07:56:50 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.20 $ -->
-<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready -->
+<!-- $Revision: 1.21 $ -->
+<!-- EN-Revision: 1.20 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ini-get" xmlns="http://docbook.org/ns/docbook">
@@ -70,7 +70,7 @@
function return_bytes($val) {
$val = trim($val);
- $last = strtolower($val{strlen($val)-1});
+ $last = strtolower($val[strlen($val)-1]);
switch($last) {
// Le modifieur 'G' est disponible depuis PHP 5.1.0
case 'g':
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/strings/functions/substr.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc-fr/reference/strings/functions/substr.xml
diff -u phpdoc-fr/reference/strings/functions/substr.xml:1.17
phpdoc-fr/reference/strings/functions/substr.xml:1.18
--- phpdoc-fr/reference/strings/functions/substr.xml:1.17 Tue Jun 3 07:16:41 2008
+++ phpdoc-fr/reference/strings/functions/substr.xml Sat Jun 7 07:56:50 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
-<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready -->
+<!-- $Revision: 1.18 $ -->
+<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.substr">
@@ -127,11 +127,11 @@
echo substr('abcdef', -1, 1); // f
// Accéder à un simple caractère dans une chaîne
-// peut également être réalisé en utilisant des accolades
+// peut également être réalisé en utilisant des crochets
$string = 'abcdef';
-echo $string{0}; // a
-echo $string{3}; // d
-echo $string{strlen($string)-1}; // f
+echo $string[0]; // a
+echo $string[3]; // d
+echo $string[strlen($string)-1]; // f
?>
]]>