去掉任何出现在字符串开头或结尾的斜线。范例:$string = "/this/that/theother/";
echo trim_slashes($string); // results in this/that/theother文章来源:http://cwiki.ossez.com/pages/viewpage.action?pageId=2392225
去掉任何出现在字符串开头或结尾的斜线。范例:$string = "/this/that/theother/";
echo trim_slashes($string); // results in this/that/theother文章来源:http://cwiki.ossez.com/pages/viewpage.action?pageId=2392225