/src/php-src/Zend/zend_default_classes.c
Line | Count | Source |
1 | | /* |
2 | | +----------------------------------------------------------------------+ |
3 | | | Zend Engine | |
4 | | +----------------------------------------------------------------------+ |
5 | | | Copyright © Zend Technologies Ltd., a subsidiary company of | |
6 | | | Perforce Software, Inc., and Contributors. | |
7 | | +----------------------------------------------------------------------+ |
8 | | | This source file is subject to the Modified BSD License that is | |
9 | | | bundled with this package in the file LICENSE, and is available | |
10 | | | through the World Wide Web at <https://www.php.net/license/>. | |
11 | | | | |
12 | | | SPDX-License-Identifier: BSD-3-Clause | |
13 | | +----------------------------------------------------------------------+ |
14 | | | Authors: Sterling Hughes <sterling@php.net> | |
15 | | | Marcus Boerger <helly@php.net> | |
16 | | +----------------------------------------------------------------------+ |
17 | | */ |
18 | | |
19 | | #include "zend.h" |
20 | | #include "zend_API.h" |
21 | | #include "zend_attributes.h" |
22 | | #include "zend_builtin_functions.h" |
23 | | #include "zend_interfaces.h" |
24 | | #include "zend_exceptions.h" |
25 | | #include "zend_closures.h" |
26 | | #include "zend_generators.h" |
27 | | #include "zend_weakrefs.h" |
28 | | #include "zend_enum.h" |
29 | | #include "zend_fibers.h" |
30 | | |
31 | | ZEND_API void zend_register_default_classes(void) |
32 | 2 | { |
33 | 2 | zend_register_interfaces(); |
34 | 2 | zend_register_default_exception(); |
35 | 2 | zend_register_iterator_wrapper(); |
36 | 2 | zend_register_closure_ce(); |
37 | 2 | zend_register_generator_ce(); |
38 | 2 | zend_register_weakref_ce(); |
39 | 2 | zend_register_attribute_ce(); |
40 | 2 | zend_register_enum_ce(); |
41 | 2 | zend_register_fiber_ce(); |
42 | 2 | } |