mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
changed return type of ZEND_VERIFY_RESOURCE from FALSE to NULL
This commit is contained in:
parent
a99ca5a64a
commit
565400780b
@ -87,7 +87,7 @@ extern ZEND_API int le_index_ptr; /* list entry type for index pointers */
|
||||
|
||||
#define ZEND_VERIFY_RESOURCE(rsrc) \
|
||||
if (!rsrc) { \
|
||||
RETURN_FALSE; \
|
||||
RETURN_NULL; \
|
||||
}
|
||||
|
||||
#define ZEND_FETCH_RESOURCE(rsrc, rsrc_type, passed_id, default_id, resource_type_name, resource_type) \
|
||||
|
Loading…
Reference in New Issue
Block a user