Patch get_resource_type_false for Variables related Bug #73702
Patch version 2016-12-09 14:21 UTC
Return to Bug #73702 |
Download this patch
Patch Revisions:
Developer: martijn@openbsd.org
--- ./Zend/zend_builtin_functions.c.old Fri Dec 9 15:16:54 2016
+++ ./Zend/zend_builtin_functions.c Fri Dec 9 15:05:52 2016
@@ -2022,7 +2022,7 @@
zval *z_resource_type;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &z_resource_type) == FAILURE) {
- return;
+ RETURN_FALSE;
}
resource_type = zend_rsrc_list_get_rsrc_type(Z_RES_P(z_resource_type));
|