Skip to content

Commit 84ce66f

Browse files
committed
Fixed Typo
1 parent a0690ff commit 84ce66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/simplexml/simplexml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ static zval *sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, z
372372
zval_dtor(&tmp_zv);
373373
}
374374

375-
if (ZVAL_IS_NULL(rv)) {
375+
if (ZVAL_IS_UNDEF(rv)) {
376376
return &EG(uninitialized_zval);
377377
}
378378

0 commit comments

Comments
 (0)