|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » fopen() » preg_match() » header() » getimagesize() » htmlspecialchars() » ob_start() » session_start() » strstr() » ob_flush() » preg_match_all() » strpos() » flush() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: gzeof (PHP 3, PHP 4, PHP 5) gzeof -- Test for end-of-file on a gz-file pointerDescriptionint gzeof ( resource zp )Tests the given GZ file pointer for EOF (end-of-file). Parameters
zp The gz-file pointer. It must be valid, and must point to a file successfully opened by gzopen() . Return ValuesReturns TRUE if the gz-file pointer is at EOF or an error occurs; otherwise returns FALSE . Examples
Example 1. gzeof() example <?php $gz = gzopen('somefile.gz', 'r'); while (!gzeof($gz)) { echo gzgetc($gz); } gzclose($gz); ?> Related Function(s) |