xref: /PHP-7.2/Zend/zend_default_classes.c (revision 7a7ec01a)
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 /* $Id$ */
21 
22 #include "zend.h"
23 #include "zend_API.h"
24 #include "zend_builtin_functions.h"
25 #include "zend_interfaces.h"
26 #include "zend_exceptions.h"
27 #include "zend_closures.h"
28 #include "zend_generators.h"
29 
30 
zend_register_default_classes(void)31 ZEND_API void zend_register_default_classes(void)
32 {
33 	zend_register_interfaces();
34 	zend_register_default_exception();
35 	zend_register_iterator_wrapper();
36 	zend_register_closure_ce();
37 	zend_register_generator_ce();
38 }
39 
40 /*
41  * Local variables:
42  * tab-width: 4
43  * c-basic-offset: 4
44  * indent-tabs-mode: t
45  * End:
46  * vim600: sw=4 ts=4 fdm=marker
47  * vim<600: sw=4 ts=4
48  */
49