php-internal-docs
8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_property_hooks.h
Go to the documentation of this file.
1
/*
2
+----------------------------------------------------------------------+
3
| Zend Engine |
4
+----------------------------------------------------------------------+
5
| Copyright (c) Zend Technologies Ltd. (http://www.zend.com) |
6
+----------------------------------------------------------------------+
7
| This source file is subject to version 2.00 of the Zend license, |
8
| that is bundled with this package in the file LICENSE, and is |
9
| available through the world-wide-web at the following url: |
10
| http://www.zend.com/license/2_00.txt. |
11
| If you did not receive a copy of the Zend license and are unable to |
12
| obtain it through the world-wide-web, please send a note to |
13
| license@zend.com so we can mail you a copy immediately. |
14
+----------------------------------------------------------------------+
15
| Authors: Ilija Tovilo <ilutov@php.net> |
16
+----------------------------------------------------------------------+
17
*/
18
19
#ifndef ZEND_PROPERTY_HOOKS_H
20
#define ZEND_PROPERTY_HOOKS_H
21
22
#include "
zend_portability.h
"
23
24
BEGIN_EXTERN_C
()
25
26
typedef struct
_zend_array
zend_array
;
27
typedef struct
_zend_class_entry
zend_class_entry
;
28
typedef struct
_zend_object
zend_object
;
29
typedef struct
_zend_object_iterator
zend_object_iterator
;
30
typedef struct
_zval_struct
zval
;
31
32
typedef enum {
33
ZEND_PROPERTY_HOOK_GET
= 0,
34
ZEND_PROPERTY_HOOK_SET
= 1,
35
}
zend_property_hook_kind
;
36
37
ZEND_API
zend_object_iterator
*
zend_hooked_object_get_iterator
(
zend_class_entry
*ce,
zval
*
object
,
int
by_ref);
38
ZEND_API
zend_array
*
zend_hooked_object_build_properties
(
zend_object
*
zobj
);
39
40
END_EXTERN_C
()
41
42
#endif
/* ZEND_PROPERTY_HOOKS_H */
_zend_array
Definition
zend_types.h:388
_zend_class_entry
Definition
zend.h:147
_zend_object_iterator
Definition
zend_iterators.h:64
_zend_object
Definition
zend_types.h:556
_zval_struct
Definition
zend_types.h:335
zval
struct _zval_struct zval
Definition
zend_builtin_functions.h:25
ZEND_API
#define ZEND_API
Definition
zend_config.w32.h:50
zend_object_iterator
struct _zend_object_iterator zend_object_iterator
Definition
zend_iterators.h:32
zend_portability.h
END_EXTERN_C
#define END_EXTERN_C()
Definition
zend_portability.h:29
BEGIN_EXTERN_C
#define BEGIN_EXTERN_C()
Definition
zend_portability.h:28
zend_hooked_object_build_properties
ZEND_API zend_array * zend_hooked_object_build_properties(zend_object *zobj)
Definition
zend_property_hooks.c:132
zend_array
struct _zend_array zend_array
Definition
zend_property_hooks.h:26
zend_hooked_object_get_iterator
ZEND_API zend_object_iterator * zend_hooked_object_get_iterator(zend_class_entry *ce, zval *object, int by_ref)
Definition
zend_property_hooks.c:367
zend_property_hook_kind
zend_property_hook_kind
Definition
zend_property_hooks.h:32
ZEND_PROPERTY_HOOK_SET
@ ZEND_PROPERTY_HOOK_SET
Definition
zend_property_hooks.h:34
ZEND_PROPERTY_HOOK_GET
@ ZEND_PROPERTY_HOOK_GET
Definition
zend_property_hooks.h:33
zend_class_entry
struct _zend_class_entry zend_class_entry
Definition
zend_property_hooks.h:27
zend_object
struct _zend_object zend_object
Definition
zend_property_hooks.h:28
zobj
zend_object * zobj
Definition
zend_vm_def.h:2428
Zend
zend_property_hooks.h
Generated on Sat Aug 23 2025 01:46:14 for php-internal-docs by
1.13.2