File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ static int clean_non_persistent_constant(zend_constant *c TSRMLS_DC)
61
61
62
62
static int clean_non_persistent_constant_full (zend_constant * c TSRMLS_DC )
63
63
{
64
- return (c -> flags & CONST_PERSISTENT ) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE ;
64
+ return (c -> flags & CONST_PERSISTENT ) ? 0 : 1 ;
65
65
}
66
66
67
67
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ static int clean_non_persistent_function(zend_function *function TSRMLS_DC)
103
103
104
104
static int clean_non_persistent_function_full (zend_function * function TSRMLS_DC )
105
105
{
106
- return (function -> type == ZEND_INTERNAL_FUNCTION ) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE ;
106
+ return (function -> type != ZEND_INTERNAL_FUNCTION );
107
107
}
108
108
109
109
@@ -115,7 +115,7 @@ static int clean_non_persistent_class(zend_class_entry **ce TSRMLS_DC)
115
115
116
116
static int clean_non_persistent_class_full (zend_class_entry * * ce TSRMLS_DC )
117
117
{
118
- return ((* ce )-> type == ZEND_INTERNAL_CLASS ) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE ;
118
+ return ((* ce )-> type != ZEND_INTERNAL_CLASS );
119
119
}
120
120
121
121
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ ZEND_API int zend_cleanup_function_data_full(zend_function *function TSRMLS_DC)
143
143
if (function -> type == ZEND_USER_FUNCTION ) {
144
144
zend_cleanup_op_array_data ((zend_op_array * ) function );
145
145
}
146
- return ZEND_HASH_APPLY_KEEP ;
146
+ return 0 ;
147
147
}
148
148
149
149
ZEND_API int zend_cleanup_class_data (zend_class_entry * * pce TSRMLS_DC )
You can’t perform that action at this time.
0 commit comments