diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-11-04 15:49:12 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-11-04 15:53:08 +0100 |
commit | 73321bc300c808346b2d00ec1bc513447a5d579b (patch) | |
tree | 1cc1dd7f18ae21478a64e792366a8025209f9705 | |
parent | 670fe594b9cb838ddc78b7da0dc8aa55f3eebf3f (diff) | |
download | php-git-73321bc300c808346b2d00ec1bc513447a5d579b.tar.gz |
getlastmod() can return false
At least this can happen during preloading.
-rwxr-xr-x | ext/standard/basic_functions.stub.php | 2 | ||||
-rw-r--r-- | ext/standard/basic_functions_arginfo.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/basic_functions.stub.php b/ext/standard/basic_functions.stub.php index b7c50ef10a..5d325515f7 100755 --- a/ext/standard/basic_functions.stub.php +++ b/ext/standard/basic_functions.stub.php @@ -461,7 +461,7 @@ function getmypid(): int|false {} function getmyinode(): int|false {} -function getlastmod(): int {} +function getlastmod(): int|false {} /* sha1.c */ diff --git a/ext/standard/basic_functions_arginfo.h b/ext/standard/basic_functions_arginfo.h index 0fcc6caedf..a5bf2cedad 100644 --- a/ext/standard/basic_functions_arginfo.h +++ b/ext/standard/basic_functions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: e38af54610d415ef27b19137645d8f6481953624 */ + * Stub hash: 4edb7cad23ccb051dbe267b3979e98892607c98f */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0) @@ -687,7 +687,7 @@ ZEND_END_ARG_INFO() #define arginfo_getmyinode arginfo_ob_get_length -#define arginfo_getlastmod arginfo_ob_get_level +#define arginfo_getlastmod arginfo_ob_get_length #define arginfo_sha1 arginfo_md5 |