cvs: phpdoc /en/reference/strings/functions substr.xml
| From: | Felipe Pena | Date: | Tue, 22 Apr 2008 20:37:58 +0000 |
| Subject: | cvs: phpdoc /en/reference/strings/functions substr.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1556@lists.php.net to get a copy of this message | ||
felipe Tue Apr 22 20:37:58 2008 UTC
Modified files:
/phpdoc/en/reference/strings/functions substr.xml
Log:
- Fixed typo in comment. (reported by Brian Poole)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/substr.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/strings/functions/substr.xml
diff -u phpdoc/en/reference/strings/functions/substr.xml:1.15
phpdoc/en/reference/strings/functions/substr.xml:1.16
--- phpdoc/en/reference/strings/functions/substr.xml:1.15 Wed Jun 20 22:25:31 2007
+++ phpdoc/en/reference/strings/functions/substr.xml Tue Apr 22 20:37:58 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.substr">
<refnamediv>
<refname>substr</refname>
@@ -125,7 +125,7 @@
echo substr('abcdef', -1, 1); // f
// Accessing single characters in a string
-// can also be achived using "curly braces"
+// can also be achieved using "curly braces"
$string = 'abcdef';
echo $string{0}; // a
echo $string{3}; // d