Skip to content

Commit f9f220b

Browse files
committed
Zend_API.h slight teak
1 parent 38be435 commit f9f220b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_API.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ static zend_always_inline zval *zend_try_array_init_size(zval *zv, uint32_t size
11761176
if (EXPECTED(Z_ISREF_P(zv))) {
11771177
zend_reference *ref = Z_REF_P(zv);
11781178
if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) {
1179-
if (zend_try_assign_typed_ref_arr(ref, arr) != SUCCESS) {
1179+
if (zend_try_assign_typed_ref_arr(ref, arr) == FAILURE) {
11801180
return NULL;
11811181
}
11821182
return &ref->val;

0 commit comments

Comments
 (0)