Skip to content

Commit 6e0b60c

Browse files
authored
Remove pointless ZVAL_UNDEF() in isset path (#18187)
This will already be set to UNDEF by zend_call_function.
1 parent 4a7332f commit 6e0b60c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_object_handlers.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,6 @@ ZEND_API zval *zend_std_read_property(zend_object *zobj, zend_string *name, int
877877

878878
if (!((*guard) & IN_ISSET)) {
879879
GC_ADDREF(zobj);
880-
ZVAL_UNDEF(&tmp_result);
881880

882881
*guard |= IN_ISSET;
883882
zend_std_call_issetter(zobj, name, &tmp_result);

0 commit comments

Comments
 (0)