diff options
author | Wez Furlong <wez@php.net> | 2002-03-16 16:52:24 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-16 16:52:24 +0000 |
commit | 0895998befef84b10cb4a2fea0541f1bca098c28 (patch) | |
tree | f0b5038e1724835b7f9cf0c33c02bbdc2b309383 | |
parent | 11a67831d1000617e44e4972a12413d559a65b78 (diff) | |
download | php-git-0895998befef84b10cb4a2fea0541f1bca098c28.tar.gz |
s/get_file_contents/file_get_contents/
-rw-r--r-- | ext/standard/basic_functions.c | 2 | ||||
-rw-r--r-- | ext/standard/file.c | 4 | ||||
-rw-r--r-- | 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); |