Browse Source

s/get_file_contents/file_get_contents/

experimental/new_ui_api
Wez Furlong 24 years ago
parent
commit
0895998bef
  1. 2
      ext/standard/basic_functions.c
  2. 4
      ext/standard/file.c
  3. 2
      ext/standard/file.h

2
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)

4
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;

2
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);

Loading…
Cancel
Save