- Fixed typo in comment. (reported by Brian Poole)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@258269 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2008-04-22 20:37:58 +00:00
parent 15d5e0858f
commit 09ee4e0cc2

View file

@ -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', 0, 8); // abcdef
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