summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-10-11 11:25:13 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-10-11 11:25:13 +0000
commitbe19c812aba4ac0893d4b82d4a4fb5152c6ca30e (patch)
tree4daadf304fb8841c51388655aa436e53ac070833 /ext/standard/basic_functions.c
parent8716039decfd1aec15a888d4f4a4c35ba8d49cb1 (diff)
downloadphp-git-be19c812aba4ac0893d4b82d4a4fb5152c6ca30e.tar.gz
added some missing protos
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r--ext/standard/basic_functions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 92354f15af..5338180e88 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -2221,6 +2221,8 @@ PHPAPI PHP_FUNCTION(warn_not_available)
}
+/* {{{ proto boolean is_uploaded_file(string path)
+ check if file was created by rfc1867 upload */
PHP_FUNCTION(is_uploaded_file)
{
zval **path;
@@ -2241,8 +2243,11 @@ PHP_FUNCTION(is_uploaded_file)
RETURN_FALSE;
}
}
+/* }}} */
+/* {{{ proto boolean move_uploaded_file(string path, string new_path)
+ move a file if and only if it was created by an upload */
PHP_FUNCTION(move_uploaded_file)
{
zval **path, **new_path;
@@ -2278,6 +2283,7 @@ PHP_FUNCTION(move_uploaded_file)
}
RETURN_BOOL(successful);
}
+/* }}} */
/*