GRAYBYTE WORDPRESS FILE MANAGER4215

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/php82/usr/include/php/Zend/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/php82/usr/include/php/Zend//zend_observer.h
/*
   +----------------------------------------------------------------------+
   | Zend Engine                                                          |
   +----------------------------------------------------------------------+
   | Copyright (c) Zend Technologies Ltd. (http://www.zend.com)           |
   +----------------------------------------------------------------------+
   | This source file is subject to version 2.00 of the Zend license,     |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | http://www.zend.com/license/2_00.txt.                                |
   | If you did not receive a copy of the Zend license and are unable to  |
   | obtain it through the world-wide-web, please send a note to          |
   | license@zend.com so we can mail you a copy immediately.              |
   +----------------------------------------------------------------------+
   | Authors: Levi Morrison <levim@php.net>                               |
   |          Sammy Kaye Powers <sammyk@php.net>                          |
   +----------------------------------------------------------------------+
*/

#ifndef ZEND_OBSERVER_H
#define ZEND_OBSERVER_H

#include "zend.h"
#include "zend_compile.h"
#include "zend_fibers.h"

BEGIN_EXTERN_C()

extern ZEND_API int zend_observer_fcall_op_array_extension;
extern ZEND_API bool zend_observer_errors_observed;
extern ZEND_API bool zend_observer_function_declared_observed;
extern ZEND_API bool zend_observer_class_linked_observed;

#define ZEND_OBSERVER_ENABLED (zend_observer_fcall_op_array_extension != -1)

#define ZEND_OBSERVER_FCALL_BEGIN(execute_data) do { \
		if (ZEND_OBSERVER_ENABLED) { \
			zend_observer_fcall_begin(execute_data); \
		} \
	} while (0)

#define ZEND_OBSERVER_FCALL_END(execute_data, return_value) do { \
		if (ZEND_OBSERVER_ENABLED) { \
			zend_observer_fcall_end(execute_data, return_value); \
		} \
	} while (0)

typedef void (*zend_observer_fcall_begin_handler)(zend_execute_data *execute_data);
typedef void (*zend_observer_fcall_end_handler)(zend_execute_data *execute_data, zval *retval);

typedef struct _zend_observer_fcall_handlers {
	zend_observer_fcall_begin_handler begin;
	zend_observer_fcall_end_handler end;
} zend_observer_fcall_handlers;

/* If the fn should not be observed then return {NULL, NULL} */
typedef zend_observer_fcall_handlers (*zend_observer_fcall_init)(zend_execute_data *execute_data);

// Call during minit/startup ONLY
ZEND_API void zend_observer_fcall_register(zend_observer_fcall_init);

// Call during runtime, but only if you have used zend_observer_fcall_register.
// You must not have more than one begin and one end handler active at the same time. Remove the old one first, if there is an existing one.
ZEND_API void zend_observer_add_begin_handler(zend_function *function, zend_observer_fcall_begin_handler begin);
ZEND_API bool zend_observer_remove_begin_handler(zend_function *function, zend_observer_fcall_begin_handler begin);
ZEND_API void zend_observer_add_end_handler(zend_function *function, zend_observer_fcall_end_handler end);
ZEND_API bool zend_observer_remove_end_handler(zend_function *function, zend_observer_fcall_end_handler end);

ZEND_API void zend_observer_startup(void); // Called by engine before MINITs
ZEND_API void zend_observer_post_startup(void); // Called by engine after MINITs
ZEND_API void zend_observer_activate(void);
ZEND_API void zend_observer_shutdown(void);

ZEND_API void ZEND_FASTCALL zend_observer_fcall_begin(
	zend_execute_data *execute_data);

ZEND_API void ZEND_FASTCALL zend_observer_generator_resume(
	zend_execute_data *execute_data);

ZEND_API void ZEND_FASTCALL zend_observer_fcall_end(
	zend_execute_data *execute_data,
	zval *return_value);

ZEND_API void zend_observer_fcall_end_all(void);

typedef void (*zend_observer_function_declared_cb)(zend_op_array *op_array, zend_string *name);

ZEND_API void zend_observer_function_declared_register(zend_observer_function_declared_cb cb);
ZEND_API void ZEND_FASTCALL _zend_observer_function_declared_notify(zend_op_array *op_array, zend_string *name);
static inline void zend_observer_function_declared_notify(zend_op_array *op_array, zend_string *name) {
    if (UNEXPECTED(zend_observer_function_declared_observed)) {
		_zend_observer_function_declared_notify(op_array, name);
	}
}

typedef void (*zend_observer_class_linked_cb)(zend_class_entry *ce, zend_string *name);

ZEND_API void zend_observer_class_linked_register(zend_observer_class_linked_cb cb);
ZEND_API void ZEND_FASTCALL _zend_observer_class_linked_notify(zend_class_entry *ce, zend_string *name);
static inline void zend_observer_class_linked_notify(zend_class_entry *ce, zend_string *name) {
	if (UNEXPECTED(zend_observer_class_linked_observed)) {
		_zend_observer_class_linked_notify(ce, name);
	}
}

typedef void (*zend_observer_error_cb)(int type, zend_string *error_filename, uint32_t error_lineno, zend_string *message);

ZEND_API void zend_observer_error_register(zend_observer_error_cb callback);
ZEND_API void _zend_observer_error_notify(int type, zend_string *error_filename, uint32_t error_lineno, zend_string *message);
static inline void zend_observer_error_notify(int type, zend_string *error_filename, uint32_t error_lineno, zend_string *message) {
	if (UNEXPECTED(zend_observer_errors_observed)) {
		_zend_observer_error_notify(type, error_filename, error_lineno, message);
	}
}

typedef void (*zend_observer_fiber_init_handler)(zend_fiber_context *initializing);
typedef void (*zend_observer_fiber_switch_handler)(zend_fiber_context *from, zend_fiber_context *to);
typedef void (*zend_observer_fiber_destroy_handler)(zend_fiber_context *destroying);

ZEND_API void zend_observer_fiber_init_register(zend_observer_fiber_init_handler handler);
ZEND_API void zend_observer_fiber_switch_register(zend_observer_fiber_switch_handler handler);
ZEND_API void zend_observer_fiber_destroy_register(zend_observer_fiber_destroy_handler handler);

ZEND_API void ZEND_FASTCALL zend_observer_fiber_init_notify(zend_fiber_context *initializing);
ZEND_API void ZEND_FASTCALL zend_observer_fiber_switch_notify(zend_fiber_context *from, zend_fiber_context *to);
ZEND_API void ZEND_FASTCALL zend_observer_fiber_destroy_notify(zend_fiber_context *destroying);

END_EXTERN_C()

#endif /* ZEND_OBSERVER_H */

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
April 07 2025 13:22:46
root / linksafe
0755
Optimizer
--
May 13 2025 08:39:10
root / linksafe
0755
zend.h
15.272 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_API.h
98.022 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_alloc.h
18.826 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_alloc_sizes.h
2.567 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_arena.h
5.921 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_ast.h
12.695 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_atomic.h
5.57 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_attributes.h
5.478 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_attributes_arginfo.h
10.503 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_bitset.h
7.739 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_build.h
1.588 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_builtin_functions.h
1.478 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_builtin_functions_arginfo.h
13.852 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_closures.h
2.236 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_closures_arginfo.h
2.035 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_compile.h
47.688 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_config.h
0.031 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_constants.h
6.549 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_constants_arginfo.h
1.32 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_cpuinfo.h
7.379 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_dtrace.h
2.003 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_enum.h
2.775 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_enum_arginfo.h
1.664 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_errors.h
2.344 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_exceptions.h
4.444 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_exceptions_arginfo.h
17.344 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_execute.h
20.074 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_extensions.h
6.203 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_fibers.h
4.846 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_fibers_arginfo.h
3.485 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_float.h
15.076 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_gc.h
3.82 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_gdb.h
1.387 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_generators.h
7.336 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_generators_arginfo.h
2.722 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_globals.h
8.985 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_globals_macros.h
2.744 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_hash.h
50.108 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_highlight.h
2.242 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_inheritance.h
2.369 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_ini.h
11.647 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_ini_parser.h
2.666 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_ini_scanner.h
1.845 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_ini_scanner_defs.h
0.22 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_interfaces.h
4.021 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_interfaces_arginfo.h
7.841 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_istdiostream.h
1.501 KB
April 07 2025 13:22:56
root / linksafe
0644
zend_iterators.h
3.697 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_language_parser.h
5.959 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_language_scanner.h
2.973 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_language_scanner_defs.h
0.303 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_list.h
3.394 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_llist.h
3.907 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_long.h
4.128 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_map_ptr.h
2.936 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_max_execution_timer.h
1.449 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_mmap.h
1.474 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_modules.h
4.713 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_multibyte.h
4.782 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_multiply.h
9.969 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_object_handlers.h
14.019 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_objects.h
1.771 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_objects_API.h
4.542 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_observer.h
6.248 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_operators.h
33.016 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_portability.h
22.256 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_ptr_stack.h
4.195 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_range_check.h
2.93 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_signal.h
3.979 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_smart_str.h
6.76 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_smart_str_public.h
1.132 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_smart_string.h
4.108 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_smart_string_public.h
1.211 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_sort.h
1.499 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_stack.h
2.304 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_stream.h
3.531 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_string.h
20.23 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_strtod.h
2.101 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_strtod_int.h
3.334 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_system_id.h
1.371 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_type_info.h
4.438 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_types.h
46.475 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_variables.h
2.993 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_virtual_cwd.h
12.686 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm.h
1.947 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm_def.h
281.454 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm_execute.h
2.02 MB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm_handlers.h
89.361 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm_opcodes.h
12.387 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm_trace_handlers.h
3.141 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm_trace_lines.h
1.714 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_vm_trace_map.h
2.603 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_weakrefs.h
2.738 KB
April 07 2025 13:22:57
root / linksafe
0644
zend_weakrefs_arginfo.h
3.397 KB
April 07 2025 13:22:57
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF