]> granicus.if.org Git - php/commitdiff
s/get_file_contents/file_get_contents/
authorWez Furlong <wez@php.net>
Sat, 16 Mar 2002 16:52:24 +0000 (16:52 +0000)
committerWez Furlong <wez@php.net>
Sat, 16 Mar 2002 16:52:24 +0000 (16:52 +0000)
ext/standard/basic_functions.c
ext/standard/file.c
ext/standard/file.h

index 240eb3b73e573f4c19c58f9f7240803ec70a3a10..7c98613ccc08ec778ca15b03bfa681f52b29cefc 100644 (file)
@@ -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)
index 78259c6675f903ac6d4b1f8a7643f95ddc38af91..8c4f727c3392c5674582441be1559693f3b4668f 100644 (file)
@@ -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;
index 54825702eb6640f09e17c7c6bd8a7d0cd00e9955..d32b9c0cd31c4e062dbee444a98df20f9ea3f9e5 100644 (file)
@@ -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);