php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_test.h File Reference
#include "fiber.h"

Go to the source code of this file.

Macros

#define phpext_zend_test_ptr   &zend_test_module_entry
 
#define PHP_ZEND_TEST_VERSION   "0.1.0"
 
#define ZT_G(v)
 
#define PHP_ZEND_TEST_API
 

Functions

 ZEND_DECLARE_MODULE_GLOBALS (zend_test) struct bug79096
 
PHP_ZEND_TEST_API int ZEND_FASTCALL bug78270 (const char *str, size_t str_len)
 
PHP_ZEND_TEST_API struct bug79096 bug79096 (void)
 
PHP_ZEND_TEST_API void bug79532 (off_t *array, size_t elems)
 
PHP_ZEND_TEST_API void bug79177 (void)
 

Variables

zend_module_entry zend_test_module_entry
 
int observer_enabled
 
int observer_show_output
 
int observer_observe_all
 
int observer_observe_includes
 
int observer_observe_functions
 
int observer_observe_declaring
 
zend_arrayobserver_observe_function_names
 
int observer_show_return_type
 
int observer_show_return_value
 
int observer_show_init_backtrace
 
int observer_show_opcode
 
char * observer_show_opcode_in_user_handler
 
int observer_nesting_depth
 
int observer_fiber_init
 
int observer_fiber_switch
 
int observer_fiber_destroy
 
int observer_execute_internal
 
HashTable global_weakmap
 
int replace_zend_execute_ex
 
int register_passes
 
bool print_stderr_mshutdown
 
zend_long limit_copy_file_range
 
int observe_opline_in_zendmm
 
zend_mm_heapzend_orig_heap
 
zend_mm_heapzend_test_heap
 
zend_test_fiberactive_fiber
 
zend_long quantity_value
 
zend_stringstr_test
 
zend_stringnot_empty_str_test
 
int zend_mm_custom_handlers_enabled
 
zend_mm_heaporiginal_heap
 
void *(* custom_malloc )(size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
void(* custom_free )(void *ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
void *(* custom_realloc )(void *, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
 
size_t(* custom_gc )(void)
 
void(* custom_shutdown )(bool, bool)
 
zend_mm_heapobserved_heap
 
PHP_ZEND_TEST_API int *(* bug79177_cb )(void)
 

Macro Definition Documentation

◆ PHP_ZEND_TEST_API

#define PHP_ZEND_TEST_API

Definition at line 94 of file php_test.h.

◆ PHP_ZEND_TEST_VERSION

#define PHP_ZEND_TEST_VERSION   "0.1.0"

Definition at line 25 of file php_test.h.

◆ phpext_zend_test_ptr

#define phpext_zend_test_ptr   &zend_test_module_entry

Definition at line 23 of file php_test.h.

◆ ZT_G

#define ZT_G ( v)
Value:
uint32_t v
Definition cdf.c:1237
#define ZEND_MODULE_GLOBALS_ACCESSOR(module_name, v)
Definition zend_API.h:274

Function Documentation

◆ bug78270()

PHP_ZEND_TEST_API int ZEND_FASTCALL bug78270 ( const char * str,
size_t str_len )

Definition at line 1447 of file test.c.

◆ bug79096()

PHP_ZEND_TEST_API struct bug79096 bug79096 ( void )

Definition at line 1455 of file test.c.

◆ bug79177()

PHP_ZEND_TEST_API void bug79177 ( void )

Definition at line 1472 of file test.c.

◆ bug79532()

PHP_ZEND_TEST_API void bug79532 ( off_t * array,
size_t elems )

Definition at line 1464 of file test.c.

◆ ZEND_DECLARE_MODULE_GLOBALS()

ZEND_DECLARE_MODULE_GLOBALS ( zend_test )
extern

Definition at line 80 of file php_test.h.

Variable Documentation

◆ active_fiber

zend_test_fiber* active_fiber

Definition at line 61 of file php_test.h.

◆ bug79177_cb

PHP_ZEND_TEST_API int *(* bug79177_cb) (void) ( void )
extern

Definition at line 1471 of file test.c.

◆ custom_free

void(* custom_free) (void *ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ( void *ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 71 of file php_test.h.

◆ custom_gc

size_t(* custom_gc) (void) ( void )

Definition at line 73 of file php_test.h.

◆ custom_malloc

void *(* custom_malloc) (size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ( size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)

Definition at line 70 of file php_test.h.

◆ custom_realloc

void *(* custom_realloc) (void *, size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ( void * ,
size_t ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC )

Definition at line 72 of file php_test.h.

◆ custom_shutdown

void(* custom_shutdown) (bool, bool) ( bool ,
bool  )

Definition at line 74 of file php_test.h.

◆ global_weakmap

HashTable global_weakmap

Definition at line 53 of file php_test.h.

◆ limit_copy_file_range

zend_long limit_copy_file_range

Definition at line 57 of file php_test.h.

◆ not_empty_str_test

zend_string* not_empty_str_test

Definition at line 64 of file php_test.h.

◆ observe_opline_in_zendmm

int observe_opline_in_zendmm

Definition at line 58 of file php_test.h.

◆ observed_heap

zend_mm_heap* observed_heap

Definition at line 77 of file php_test.h.

◆ observer_enabled

int observer_enabled

Definition at line 36 of file php_test.h.

◆ observer_execute_internal

int observer_execute_internal

Definition at line 52 of file php_test.h.

◆ observer_fiber_destroy

int observer_fiber_destroy

Definition at line 51 of file php_test.h.

◆ observer_fiber_init

int observer_fiber_init

Definition at line 49 of file php_test.h.

◆ observer_fiber_switch

int observer_fiber_switch

Definition at line 50 of file php_test.h.

◆ observer_nesting_depth

int observer_nesting_depth

Definition at line 48 of file php_test.h.

◆ observer_observe_all

int observer_observe_all

Definition at line 38 of file php_test.h.

◆ observer_observe_declaring

int observer_observe_declaring

Definition at line 41 of file php_test.h.

◆ observer_observe_function_names

zend_array* observer_observe_function_names

Definition at line 42 of file php_test.h.

◆ observer_observe_functions

int observer_observe_functions

Definition at line 40 of file php_test.h.

◆ observer_observe_includes

int observer_observe_includes

Definition at line 39 of file php_test.h.

◆ observer_show_init_backtrace

int observer_show_init_backtrace

Definition at line 45 of file php_test.h.

◆ observer_show_opcode

int observer_show_opcode

Definition at line 46 of file php_test.h.

◆ observer_show_opcode_in_user_handler

char* observer_show_opcode_in_user_handler

Definition at line 47 of file php_test.h.

◆ observer_show_output

int observer_show_output

Definition at line 37 of file php_test.h.

◆ observer_show_return_type

int observer_show_return_type

Definition at line 43 of file php_test.h.

◆ observer_show_return_value

int observer_show_return_value

Definition at line 44 of file php_test.h.

◆ original_heap

zend_mm_heap* original_heap

Definition at line 68 of file php_test.h.

◆ print_stderr_mshutdown

bool print_stderr_mshutdown

Definition at line 56 of file php_test.h.

◆ quantity_value

zend_long quantity_value

Definition at line 62 of file php_test.h.

◆ register_passes

int register_passes

Definition at line 55 of file php_test.h.

◆ replace_zend_execute_ex

int replace_zend_execute_ex

Definition at line 54 of file php_test.h.

◆ str_test

zend_string* str_test

Definition at line 63 of file php_test.h.

◆ zend_mm_custom_handlers_enabled

int zend_mm_custom_handlers_enabled

Definition at line 65 of file php_test.h.

◆ zend_orig_heap

zend_mm_heap* zend_orig_heap

Definition at line 59 of file php_test.h.

◆ zend_test_heap

zend_mm_heap* zend_test_heap

Definition at line 60 of file php_test.h.

◆ zend_test_module_entry

zend_module_entry zend_test_module_entry
extern

Definition at line 1422 of file test.c.