xref: /php-src/Zend/zend_default_classes.c (revision c276c16b)
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: Sterling Hughes <sterling@php.net>                          |
16    |          Marcus Boerger <helly@php.net>                              |
17    +----------------------------------------------------------------------+
18 */
19 
20 #include "zend.h"
21 #include "zend_API.h"
22 #include "zend_attributes.h"
23 #include "zend_builtin_functions.h"
24 #include "zend_interfaces.h"
25 #include "zend_exceptions.h"
26 #include "zend_closures.h"
27 #include "zend_generators.h"
28 #include "zend_weakrefs.h"
29 #include "zend_enum.h"
30 #include "zend_fibers.h"
31 
zend_register_default_classes(void)32 ZEND_API void zend_register_default_classes(void)
33 {
34 	zend_register_interfaces();
35 	zend_register_default_exception();
36 	zend_register_iterator_wrapper();
37 	zend_register_closure_ce();
38 	zend_register_generator_ce();
39 	zend_register_weakref_ce();
40 	zend_register_attribute_ce();
41 	zend_register_enum_ce();
42 	zend_register_fiber_ce();
43 }
44