Fixed example typo in strtok().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@73315 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2002-03-15 01:48:32 +00:00
parent cf13075d44
commit 78a2fddf0a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.165 $ -->
<!-- $Revision: 1.166 $ -->
<reference id="ref.strings">
<title>String functions</title>
<titleabbrev>Strings</titleabbrev>
@ -3249,7 +3249,7 @@ $string = "This is\tan example\nstring";
$tok = strtok($string," \n\t");
while ($tok) {
echo "Word=$tok<br>";
$tok = strtok(" ");
$tok = strtok(" \n\t");
}
]]>
</programlisting>