cvs: php4 /ext/standard basic_functions.c file.c file.h

From: Date: Sat, 16 Mar 2002 16:52:24 +0000
Subject: cvs: php4 /ext/standard basic_functions.c file.c file.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10248@lists.php.net to get a copy of this message
wez Sat Mar 16 11:52:24 2002 EDT Modified files: /php4/ext/standard basic_functions.c file.c file.h Log: s/get_file_contents/file_get_contents/ Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.451 php4/ext/standard/basic_functions.c:1.452 --- php4/ext/standard/basic_functions.c:1.451 Sat Mar 16 11:06:12 2002 +++ php4/ext/standard/basic_functions.c Sat Mar 16 11:52:24 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: basic_functions.c,v 1.451 2002/03/16 16:06:12 wez Exp $ */ +/* $Id: basic_functions.c,v 1.452 2002/03/16 16:52:24 wez Exp $ */ #include "php.h" #include "php_streams.h" @@ -611,7 +611,7 @@ 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: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.211 php4/ext/standard/file.c:1.212 --- php4/ext/standard/file.c:1.211 Sat Mar 16 11:14:56 2002 +++ php4/ext/standard/file.c Sat Mar 16 11:52:24 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.211 2002/03/16 16:14:56 wez Exp $ */ +/* $Id: file.c,v 1.212 2002/03/16 16:52:24 wez Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -366,9 +366,9 @@ /* }}} */ -/* {{{ 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: php4/ext/standard/file.h diff -u php4/ext/standard/file.h:1.49 php4/ext/standard/file.h:1.50 --- php4/ext/standard/file.h:1.49 Sat Mar 16 11:14:56 2002 +++ php4/ext/standard/file.h Sat Mar 16 11:52:24 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.h,v 1.49 2002/03/16 16:14:56 wez Exp $ */ +/* $Id: file.h,v 1.50 2002/03/16 16:52:24 wez Exp $ */ /* Synced with php 3.0 revision 1.30 1999-06-16 [ssb] */ @@ -53,7 +53,7 @@ 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);

« previous php.cvs (#10248) next »