@@ -488,7 +488,7 @@ ZEND_API zend_property_info *zend_get_property_info(const zend_class_entry *ce,
488
488
}
489
489
/* }}} */
490
490
491
- ZEND_API int zend_check_property_access (zend_object * zobj , zend_string * prop_info_name , bool is_dynamic ) /* {{{ */
491
+ ZEND_API zend_result zend_check_property_access (const zend_object * zobj , zend_string * prop_info_name , bool is_dynamic ) /* {{{ */
492
492
{
493
493
zend_property_info * property_info ;
494
494
const char * class_name = NULL ;
@@ -1228,9 +1228,9 @@ static zend_never_inline zend_function *zend_get_parent_private_method(zend_clas
1228
1228
1229
1229
/* Ensures that we're allowed to call a protected method.
1230
1230
*/
1231
- ZEND_API int zend_check_protected (zend_class_entry * ce , zend_class_entry * scope ) /* {{{ */
1231
+ ZEND_API bool zend_check_protected (const zend_class_entry * ce , const zend_class_entry * scope ) /* {{{ */
1232
1232
{
1233
- zend_class_entry * fbc_scope = ce ;
1233
+ const zend_class_entry * fbc_scope = ce ;
1234
1234
1235
1235
/* Is the context that's calling the function, the same as one of
1236
1236
* the function's parents?
@@ -1255,7 +1255,7 @@ ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope)
1255
1255
}
1256
1256
/* }}} */
1257
1257
1258
- ZEND_API zend_function * zend_get_call_trampoline_func (zend_class_entry * ce , zend_string * method_name , int is_static ) /* {{{ */
1258
+ ZEND_API zend_function * zend_get_call_trampoline_func (const zend_class_entry * ce , zend_string * method_name , bool is_static ) /* {{{ */
1259
1259
{
1260
1260
size_t mname_len ;
1261
1261
zend_op_array * func ;
0 commit comments