? colorer ? standard/fread.diff Index: standard/basic_functions.c =================================================================== RCS file: /repository/php-src/ext/standard/basic_functions.c,v retrieving revision 1.683 diff -u -r1.683 basic_functions.c --- standard/basic_functions.c 11 Aug 2004 03:57:15 -0000 1.683 +++ standard/basic_functions.c 17 Aug 2004 05:22:50 -0000 @@ -574,7 +574,7 @@ PHP_FE(fgetc, NULL) PHP_FE(fgets, NULL) PHP_FE(fgetss, NULL) - PHP_FE(fread, NULL) + PHP_NAMED_FE(fread, php_if_fread, NULL) PHP_NAMED_FE(fopen, php_if_fopen, NULL) PHP_FE(fpassthru, NULL) PHP_NAMED_FE(ftruncate, php_if_ftruncate, NULL) Index: standard/file.c =================================================================== RCS file: /repository/php-src/ext/standard/file.c,v retrieving revision 1.384 diff -u -r1.384 file.c --- standard/file.c 22 Jul 2004 12:12:28 -0000 1.384 +++ standard/file.c 17 Aug 2004 05:22:50 -0000 @@ -1645,7 +1645,7 @@ /* {{{ proto string fread(resource fp, int length) Binary-safe file read */ -PHPAPI PHP_FUNCTION(fread) +PHP_NAMED_FUNCTION(php_if_fread) { zval **arg1, **arg2; int len; Index: standard/file.h =================================================================== RCS file: /repository/php-src/ext/standard/file.h,v retrieving revision 1.91 diff -u -r1.91 file.h --- standard/file.h 30 Jul 2004 22:49:02 -0000 1.91 +++ standard/file.h 17 Aug 2004 05:22:50 -0000 @@ -33,7 +33,7 @@ PHP_FUNCTION(popen); PHP_FUNCTION(pclose); PHPAPI PHP_FUNCTION(feof); -PHPAPI PHP_FUNCTION(fread); +PHP_NAMED_FUNCTION(php_if_fread); PHPAPI PHP_FUNCTION(fgetc); PHPAPI PHP_FUNCTION(fgets); PHP_FUNCTION(fscanf); Index: zlib/zlib.c =================================================================== RCS file: /repository/php-src/ext/zlib/zlib.c,v retrieving revision 1.182 diff -u -r1.182 zlib.c --- zlib/zlib.c 17 Jul 2004 00:05:30 -0000 1.182 +++ zlib/zlib.c 17 Aug 2004 05:22:50 -0000 @@ -87,7 +87,7 @@ PHP_FALIAS(gzgetc, fgetc, NULL) PHP_FALIAS(gzgets, fgets, NULL) PHP_FALIAS(gzgetss, fgetss, NULL) - PHP_FALIAS(gzread, fread, NULL) + PHP_NAMED_FE(gzread, php_if_fread, NULL) PHP_FE(gzopen, NULL) PHP_FALIAS(gzpassthru, fpassthru, NULL) PHP_FALIAS(gzseek, fseek, NULL)