diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-14 14:57:10 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-14 14:59:10 +0200 |
commit | 3f19f5112a7be3e4aa7ab1704d25de54645be373 (patch) | |
tree | 9cfd95998a2c54562b19670cdc4f9576d784fadf /ext/libxml/libxml.c | |
parent | 7bc4bd0229d792718fd8d9aef1fed710d24607b5 (diff) | |
download | php-git-3f19f5112a7be3e4aa7ab1704d25de54645be373.tar.gz |
Add RETURN_EMPTY_ARRAY() / RETVAL_EMPTY_ARRAY()
The usual wrappers around ZVAL_EMPTY_ARRAY()...
Diffstat (limited to 'ext/libxml/libxml.c')
-rw-r--r-- | ext/libxml/libxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index b8603fdf38..7471065494 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -1060,7 +1060,7 @@ static PHP_FUNCTION(libxml_get_errors) error = zend_llist_get_next(LIBXML(error_list)); } } else { - ZVAL_EMPTY_ARRAY(return_value); + RETURN_EMPTY_ARRAY(); } } /* }}} */ |