Commit 046b44e1285 for php.net
commit 046b44e12855d9979a501464fa732233f067687e
Author: Gina Peter Banyard <girgias@php.net>
Date: Mon Mar 9 16:47:09 2026 +0000
ext/opcache: formalize return type of zend_get_stream_timestamp() to zend_result
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index 00ea60cb53e..bfd96fec0cc 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -964,7 +964,7 @@ static inline bool accel_is_inactive(void)
return false;
}
-static int zend_get_stream_timestamp(const char *filename, zend_stat_t *statbuf)
+static zend_result zend_get_stream_timestamp(const char *filename, zend_stat_t *statbuf)
{
php_stream_wrapper *wrapper;
php_stream_statbuf stream_statbuf;