Skip to content

Commit e4b3ffe

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: Fix ZEND_API mismatch on zend_ce_closure forward decl for Windows+Clang
2 parents 05b3c28 + 3525895 commit e4b3ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_execute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static zend_always_inline void zend_cast_zval_to_object(zval *result, zval *expr
248248
}
249249

250250
static zend_always_inline void zend_cast_zval_to_array(zval *result, zval *expr, uint8_t op1_type) {
251-
extern zend_class_entry *zend_ce_closure;
251+
extern ZEND_API zend_class_entry *zend_ce_closure;
252252
if (op1_type == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) {
253253
if (Z_TYPE_P(expr) != IS_NULL) {
254254
if (UNEXPECTED(Z_TYPE_P(expr) == IS_DOUBLE && zend_isnan(Z_DVAL_P(expr)))) {

0 commit comments

Comments
 (0)