主页
PHP
PHP strtok() 函数
tryphp_func_string_strtok
运行 ❯
×
更改方向
保存代码
更改主题
<?php $string = "Hello world. Beautiful day today."; $token = strtok($string, " "); while ($token !== false) { echo "$token
"; $token = strtok(" "); } ?>