@@ -443,12 +443,12 @@ ZEND_API void ZEND_FASTCALL zend_free_extra_named_params(zend_array *extra_named
443443
444444/* services */
445445ZEND_API const char * get_active_class_name (const char * * space );
446- ZEND_API const char * get_active_function_name (void );
447- ZEND_API const char * get_active_function_arg_name (uint32_t arg_num );
448- ZEND_API const char * get_function_arg_name (const zend_function * func , uint32_t arg_num );
449- ZEND_API zend_function * zend_active_function_ex (zend_execute_data * execute_data );
446+ ZEND_ATTRIBUTE_PURE ZEND_API const char * get_active_function_name (void );
447+ ZEND_ATTRIBUTE_PURE ZEND_API const char * get_active_function_arg_name (uint32_t arg_num );
448+ ZEND_ATTRIBUTE_PURE ZEND_API const char * get_function_arg_name (const zend_function * func , uint32_t arg_num );
449+ ZEND_ATTRIBUTE_PURE ZEND_API zend_function * zend_active_function_ex (const zend_execute_data * execute_data );
450450
451- static zend_always_inline zend_function * zend_active_function (void )
451+ ZEND_ATTRIBUTE_PURE static zend_always_inline zend_function * zend_active_function (void )
452452{
453453 zend_function * func = EG (current_execute_data )-> func ;
454454 if (ZEND_USER_CODE (func -> type )) {
@@ -464,7 +464,7 @@ ZEND_ATTRIBUTE_PURE ZEND_API const char *zend_get_executed_filename(void);
464464ZEND_ATTRIBUTE_PURE ZEND_API zend_string * zend_get_executed_filename_ex (void );
465465ZEND_ATTRIBUTE_PURE ZEND_API uint32_t zend_get_executed_lineno (void );
466466ZEND_ATTRIBUTE_PURE ZEND_API zend_class_entry * zend_get_executed_scope (void );
467- ZEND_API bool zend_is_executing (void );
467+ ZEND_ATTRIBUTE_PURE ZEND_API bool zend_is_executing (void );
468468ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_pass_by_reference (uint32_t arg_num );
469469
470470ZEND_API void zend_set_timeout (zend_long seconds , bool reset_signals );
0 commit comments