mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
- 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:
parent
15d5e0858f
commit
09ee4e0cc2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue