+/* {{{ proto array gzfile(string filename [, int use_include_path]) U + Read and uncompress entire .gz-file into an array */ PHP_FUNCTION(gzfile) { char *filename; int filename_len; + zend_uchar filename_type; long flags = 0; char buf[8192]; register int i = 0; int use_include_path = 0; php_stream *stream;- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &filename, &filename_len, &flags) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "t|l", &filename, &filename_len, &filename_type, &flags) == FAILURE) {return; }
When you use 't' flag, the storage type should be void*, not char*. -Andrei -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
