xref: /PHP-7.3/Zend/zend_default_classes.c (revision 8d3f8ca1)
1 /*
2    +----------------------------------------------------------------------+
3    | Zend Engine                                                          |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1998-2018 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 
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 }
37 
38 /*
39  * Local variables:
40  * tab-width: 4
41  * c-basic-offset: 4
42  * indent-tabs-mode: t
43  * End:
44  * vim600: sw=4 ts=4 fdm=marker
45  * vim<600: sw=4 ts=4
46  */
47