From 0895998befef84b10cb4a2fea0541f1bca098c28 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 16 Mar 2002 16:52:24 +0000 Subject: [PATCH] s/get_file_contents/file_get_contents/ --- ext/standard/basic_functions.c | 2 +- ext/standard/file.c | 4 ++-- ext/standard/file.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 240eb3b73e..7c98613ccc 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -611,7 +611,7 @@ function_entry basic_functions[] = { PHP_FE(tempnam, NULL) PHP_STATIC_FE("tmpfile", php_if_tmpfile, NULL) PHP_FE(file, NULL) - PHP_FE(get_file_contents, NULL) + PHP_FE(file_get_contents, NULL) PHP_FE(fgetcsv, NULL) PHP_FE(flock, NULL) PHP_FE(get_meta_tags, NULL) diff --git a/ext/standard/file.c b/ext/standard/file.c index 78259c6675..8c4f727c33 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -366,9 +366,9 @@ PHP_FUNCTION(get_meta_tags) /* }}} */ -/* {{{ proto string get_file_contents(string filename [, bool use_include_path]) +/* {{{ proto string file_get_contents(string filename [, bool use_include_path]) Read the entire file into a string */ -PHP_FUNCTION(get_file_contents) +PHP_FUNCTION(file_get_contents) { char *filename; int filename_len; diff --git a/ext/standard/file.h b/ext/standard/file.h index 54825702eb..d32b9c0cd3 100644 --- a/ext/standard/file.h +++ b/ext/standard/file.h @@ -53,7 +53,7 @@ PHP_FUNCTION(rename); PHP_FUNCTION(unlink); PHP_FUNCTION(copy); PHP_FUNCTION(file); -PHP_FUNCTION(get_file_contents); +PHP_FUNCTION(file_get_contents); PHP_FUNCTION(set_socket_blocking); /* deprecated */ PHP_FUNCTION(socket_set_blocking); PHP_FUNCTION(socket_set_timeout); -- 2.50.1