PHP 字符串去掉空格

echo str_replace(" ","","I love you!");

原文地址:https://www.cnblogs.com/hgj123/p/4126656.html