xref: /PHP-7.4/Zend/zend_default_classes.c (revision 6529d7ac)
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_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 
zend_register_default_classes(void)29 ZEND_API void zend_register_default_classes(void)
30 {
31 	zend_register_interfaces();
32 	zend_register_default_exception();
33 	zend_register_iterator_wrapper();
34 	zend_register_closure_ce();
35 	zend_register_generator_ce();
36 	zend_register_weakref_ce();
37 }
38