1 #ifndef PHP_COMMON_HANDLERS_H
2 #define PHP_COMMON_HANDLERS_H
3 
4 #include "php.h"
5 
6 /**
7  * Default object cast handler.
8  */
9 int php_ds_default_cast_object
10 #if PHP_VERSION_ID >= 80000
11 (zend_object *obj, zval *return_value, int type);
12 #else
13 (zval *obj, zval *return_value, int type);
14 #endif
15 
16 zval *php_ds_read_dimension_by_key_not_supported
17 #if PHP_VERSION_ID >= 80000
18 (zend_object *obj, zval *offset, int type, zval *rv);
19 #else
20 (zval *obj, zval *offset, int type, zval *rv);
21 #endif
22 
23 int php_ds_has_dimension_by_key_not_supported
24 #if PHP_VERSION_ID >= 80000
25 (zend_object *obj, zval *offset, int check_empty);
26 #else
27 (zval *obj, zval *offset, int check_empty);
28 #endif
29 
30 void php_ds_unset_dimension_by_key_not_supported
31 #if PHP_VERSION_ID >= 80000
32 (zend_object *obj, zval *offset);
33 #else
34 (zval *obj, zval *offset);
35 #endif
36 
37 #endif