php_strip_whitespace()函数返回被剥离注释和空白字符的源代码。
php_strip_whitespace(file_path)
file_path − The path of file.
The php_strip_whitespace() function returns stripped source code on success.
<?php /* * Demo comment */ echo php_strip_whitespace ("new.php"); ?>
上述代码删除了所有注释和空白。
以上就是PHP中的php_strip_whitespace()函数的详细内容,更多请关注php中文网其它相关文章!
已抢65143个
抢已抢28624个
抢已抢15471个
抢已抢7788个
抢已抢9679个
抢已抢19694个
抢