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, |
|
2003-03-23 14:57:16 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-11 04:04:29 +08:00
|
|
|
| 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> |
|
2003-08-24 03:48:52 +08:00
|
|
|
| Marcus Boerger <helly@php.net> |
|
2003-03-23 12:32:24 +08:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "zend.h"
|
|
|
|
#include "zend_API.h"
|
2003-08-29 04:35:54 +08:00
|
|
|
#include "zend_builtin_functions.h"
|
2003-10-23 04:04:48 +08:00
|
|
|
#include "zend_interfaces.h"
|
2004-02-12 18:38:14 +08:00
|
|
|
#include "zend_exceptions.h"
|
2008-07-14 17:49:03 +08:00
|
|
|
#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"
|
2004-02-12 18:24:40 +08:00
|
|
|
|
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
|
|
|
}
|