mirror of
https://github.com/php/php-src.git
synced 2026-04-22 07:28:09 +02:00
changed return type of ZEND_VERIFY_RESOURCE from FALSE to NULL
This commit is contained in:
+1
-1
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user