php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
spl_functions.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Authors: Marcus Boerger <helly@php.net> |
14 +----------------------------------------------------------------------+
15 */
16
17#ifndef PHP_FUNCTIONS_H
18#define PHP_FUNCTIONS_H
19
20#include "php.h"
21
22/* sub: whether to allow subclasses/interfaces
23 allow = 0: allow all classes and interfaces
24 allow > 0: allow all that match and mask ce_flags
25 allow < 0: disallow all that match and mask ce_flags
26 */
27void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags);
28void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags);
29void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags);
30void spl_add_classes(zend_class_entry *pce, zval *list, bool sub, int allow, int ce_flags);
31
32void spl_set_private_debug_info_property(const zend_class_entry *ce, const char *property, size_t property_len, HashTable *debug_info, zval *value);
33
34#endif /* PHP_FUNCTIONS_H */
void spl_add_class_name(zval *list, zend_class_entry *pce, int allow, int ce_flags)
void spl_set_private_debug_info_property(const zend_class_entry *ce, const char *property, size_t property_len, HashTable *debug_info, zval *value)
void spl_add_interfaces(zval *list, zend_class_entry *pce, int allow, int ce_flags)
void spl_add_classes(zend_class_entry *pce, zval *list, bool sub, int allow, int ce_flags)
void spl_add_traits(zval *list, zend_class_entry *pce, int allow, int ce_flags)
struct _zval_struct zval
struct _zend_class_entry zend_class_entry
struct _zend_array HashTable
Definition zend_types.h:386
value
property