gzgetss() - zlib函数(压缩文件)
gzgetss()
(PHP 4, PHP 5, PHP 7)
Get line from gz-file pointer and strip HTML tags
WarningThis function has beenDEPRECATEDas of PHP 7.3.0. Relying on this functionis highly discouraged.
说明
gzgetss(resource $zp,int $length[,string $allowable_tags]): stringIdentical to gzgets(), except that gzgetss() attempts to strip any HTML and PHP tags from the text it reads.
参数
$zpThe gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen().
$lengthThe length of data to get.
$allowable_tagsYou can use this optional parameter to specify tags which should not be stripped.
返回值
The uncompressed and stripped string, or FALSE
on error.
范例
gzgetss() example
参见
gzopen()
Open gz-filegzgets()
Get line from file pointerstrip_tags()
从字符串中去除 HTML 和 PHP 标记
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!