🌈 搜索
📅  最后修改于: 2022-03-11 14:54:04.445000             🧑  作者: Mango
if ($str == trim($str) && strpos($str, ' ') !== false) { echo 'has spaces, but not at beginning or end'; }