|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-10-03 15:36 UTC] shane
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 04:00:02 2025 UTC |
<? $string = "a b c d e f"; $tok = strtok($string, " "); while($tok) { printf("[%s]\n", $tok); $tok = strtok(" "); } ?> result is [a] if string is "a b c d e f", then result is correct, but string "a b c d e f" is not work.