summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index adf86f2cda..121ba395ad 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -2555,9 +2555,9 @@ PHP_FUNCTION(fnmatch)
/* }}} */
#endif
-/* {{{ proto string php_get_tmpdir()
+/* {{{ proto string sys_get_temp_dir()
Returns directory path used for temporary files */
-PHP_FUNCTION(php_get_tmpdir)
+PHP_FUNCTION(sys_get_temp_dir)
{
RETURN_STRING((char *)php_get_temporary_directory(), 1);
}