Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
var_dump($array) が配列の内容をトリミングして印刷することを知っています。しかし、私は印刷部分をスキップしたい. 私は何をすべきか?他の関数を使用する必要がありますか
array_map一緒に使うtrim
array_map
trim
$trimmed = array_map('trim', $array);
ここで何かを見つけるかもしれません: http://php.net/manual/en/function.trim.php