<?php 
$string = "I Like this game";
$tok = strtok($string," ");
while($tok)
{
    echo "单词=$tok<br>";
    $tok = strtok(" ");
}
?>输出结果:
单词=I
单词=Like
单词=this
单词=game问:
1,变量$string 中最后一个单词后面无空格,为什么还能够输出“单词=game”
2,PHP中字符串最后以什么结尾?
3,
<?php 
$string = "Like";
$tok = strtok($string,",");
while($tok)
{
    echo "单词=$tok<br>";
    $tok = strtok(" ");
}
?>在strtok函数中放入任何字符都会输入结果
这是为什么?