Commit f4db0d08bfb for php.net
commit f4db0d08bfbb741e7da1dd719b4b1301aea400b7
Author: Gina Peter Banyard <girgias@php.net>
Date: Mon Apr 6 18:32:24 2026 +0100
Zend/zend_execute.c: use zend_never_inline ZEND_COLD
rather than ZEND_COLD zend_never_inline to align the coding style with the rest of the file
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 8b688c4adc7..fb9c1587e7b 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -835,7 +835,7 @@ ZEND_API bool zend_verify_scalar_type_hint(uint32_t type_mask, zval *arg, bool s
return zend_verify_weak_scalar_type_hint(type_mask, arg);
}
-ZEND_COLD zend_never_inline void zend_verify_class_constant_type_error(const zend_class_constant *c, const zend_string *name, const zval *constant)
+zend_never_inline ZEND_COLD void zend_verify_class_constant_type_error(const zend_class_constant *c, const zend_string *name, const zval *constant)
{
zend_string *type_str = zend_type_to_string(c->type);
@@ -845,7 +845,7 @@ ZEND_COLD zend_never_inline void zend_verify_class_constant_type_error(const zen
zend_string_release(type_str);
}
-ZEND_COLD zend_never_inline void zend_verify_property_type_error(const zend_property_info *info, const zval *property)
+zend_never_inline ZEND_COLD void zend_verify_property_type_error(const zend_property_info *info, const zval *property)
{
zend_string *type_str;
@@ -863,7 +863,7 @@ ZEND_COLD zend_never_inline void zend_verify_property_type_error(const zend_prop
zend_string_release(type_str);
}
-ZEND_COLD zend_never_inline void zend_magic_get_property_type_inconsistency_error(const zend_property_info *info, const zval *property)
+zend_never_inline ZEND_COLD void zend_magic_get_property_type_inconsistency_error(const zend_property_info *info, const zval *property)
{
/* we _may_ land here in case reading already errored and runtime cache thus has not been updated (i.e. it contains a valid but unrelated info) */
if (EG(exception)) {