简单教程
提交运行
代码编辑器:
<?php $str = " Hello World! "; echo "Without trim: " . $str; echo "<br>"; echo "With trim: " . trim($str);
运行结果: