cvs: phpdoc /en/reference/strings/functions substr.xml
| From: | Jakub Vrana | Date: | Tue, 18 Jan 2005 15:57:49 +0000 |
| Subject: | cvs: phpdoc /en/reference/strings/functions substr.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969366031@lists.php.net to get a copy of this message | ||
vrana Tue Jan 18 10:57:49 2005 EDT
Modified files:
/phpdoc/en/reference/strings/functions substr.xml
Log:
Missing semicolons
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/substr.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/strings/functions/substr.xml
diff -u phpdoc/en/reference/strings/functions/substr.xml:1.10
phpdoc/en/reference/strings/functions/substr.xml:1.11
--- phpdoc/en/reference/strings/functions/substr.xml:1.10 Tue Jan 18 10:45:45 2005
+++ phpdoc/en/reference/strings/functions/substr.xml Tue Jan 18 10:57:49 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.substr">
<refnamediv>
@@ -37,14 +37,14 @@
echo substr('abcdef', 1, 3); // bcd
echo substr('abcdef', 0, 4); // abcd
echo substr('abcdef', 0, 8); // abcdef
-echo substr('abcdef', -1, 1) // f
+echo substr('abcdef', -1, 1); // f
// Accessing single characters in a string
// can also be achived using "curly braces"
$string = 'abcdef';
echo $string{0}; // a
echo $string{3}; // d
-echo $string{strlen($string)-1} // f
+echo $string{strlen($string)-1}; // f
?>
]]>