php-src/Zend/zend_default_classes.c

38 lines
1.6 KiB
C
Raw Normal View History

2003-03-23 12:32:24 +08:00
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
2019-01-30 17:23:29 +08:00
| Copyright (c) Zend Technologies Ltd. (http://www.zend.com) |
2003-03-23 12:32:24 +08:00
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
2003-03-23 12:32:24 +08:00
| http://www.zend.com/license/2_00.txt. |
| If you did not receive a copy of the Zend license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@zend.com so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Sterling Hughes <sterling@php.net> |
| Marcus Boerger <helly@php.net> |
2003-03-23 12:32:24 +08:00
+----------------------------------------------------------------------+
*/
#include "zend.h"
#include "zend_API.h"
#include "zend_builtin_functions.h"
#include "zend_interfaces.h"
#include "zend_exceptions.h"
#include "zend_closures.h"
2012-05-20 06:03:27 +08:00
#include "zend_generators.h"
2018-05-10 20:58:10 +08:00
#include "zend_weakrefs.h"
2014-12-14 06:06:14 +08:00
ZEND_API void zend_register_default_classes(void)
2003-03-23 12:32:24 +08:00
{
2014-12-14 06:06:14 +08:00
zend_register_interfaces();
zend_register_default_exception();
zend_register_iterator_wrapper();
zend_register_closure_ce();
zend_register_generator_ce();
2018-05-10 20:58:10 +08:00
zend_register_weakref_ce();
2003-03-23 12:32:24 +08:00
}