@@ -450,12 +450,12 @@ ZEND_API void ZEND_FASTCALL zend_free_extra_named_params(zend_array *extra_named
450450
451451/* services */
452452ZEND_API const char * get_active_class_name (const char * * space );
453- ZEND_API const char * get_active_function_name (void );
454- ZEND_API const char * get_active_function_arg_name (uint32_t arg_num );
455- ZEND_API const char * get_function_arg_name (const zend_function * func , uint32_t arg_num );
456- ZEND_API zend_function * zend_active_function_ex (zend_execute_data * execute_data );
453+ ZEND_ATTRIBUTE_PURE ZEND_API const char * get_active_function_name (void );
454+ ZEND_ATTRIBUTE_PURE ZEND_API const char * get_active_function_arg_name (uint32_t arg_num );
455+ ZEND_ATTRIBUTE_PURE ZEND_API const char * get_function_arg_name (const zend_function * func , uint32_t arg_num );
456+ ZEND_ATTRIBUTE_PURE ZEND_API zend_function * zend_active_function_ex (const zend_execute_data * execute_data );
457457
458- static zend_always_inline zend_function * zend_active_function (void )
458+ ZEND_ATTRIBUTE_PURE static zend_always_inline zend_function * zend_active_function (void )
459459{
460460 zend_function * func = EG (current_execute_data )-> func ;
461461 if (ZEND_USER_CODE (func -> type )) {
@@ -471,7 +471,7 @@ ZEND_ATTRIBUTE_PURE ZEND_API const char *zend_get_executed_filename(void);
471471ZEND_ATTRIBUTE_PURE ZEND_API zend_string * zend_get_executed_filename_ex (void );
472472ZEND_ATTRIBUTE_PURE ZEND_API uint32_t zend_get_executed_lineno (void );
473473ZEND_ATTRIBUTE_PURE ZEND_API zend_class_entry * zend_get_executed_scope (void );
474- ZEND_API bool zend_is_executing (void );
474+ ZEND_ATTRIBUTE_PURE ZEND_API bool zend_is_executing (void );
475475ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_pass_by_reference (uint32_t arg_num );
476476
477477ZEND_API void zend_set_timeout (zend_long seconds , bool reset_signals );
0 commit comments