Back to index

php5  5.3.10
zend_default_classes.c
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | Zend Engine                                                          |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 2.00 of the Zend license,     |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.zend.com/license/2_00.txt.                                |
00011    | If you did not receive a copy of the Zend license and are unable to  |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@zend.com so we can mail you a copy immediately.              |
00014    +----------------------------------------------------------------------+
00015    | Authors: Sterling Hughes <sterling@php.net>                          |
00016    |          Marcus Boerger <helly@php.net>                              |
00017    +----------------------------------------------------------------------+
00018 */
00019 
00020 /* $Id: zend_default_classes.c 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #include "zend.h"
00023 #include "zend_API.h"
00024 #include "zend_builtin_functions.h"
00025 #include "zend_interfaces.h"
00026 #include "zend_exceptions.h"
00027 #include "zend_closures.h"
00028 
00029 
00030 ZEND_API void zend_register_default_classes(TSRMLS_D)
00031 {
00032        zend_register_interfaces(TSRMLS_C);
00033        zend_register_default_exception(TSRMLS_C);
00034        zend_register_iterator_wrapper(TSRMLS_C);
00035        zend_register_closure_ce(TSRMLS_C);
00036 }
00037 
00038 /*
00039  * Local variables:
00040  * tab-width: 4
00041  * c-basic-offset: 4
00042  * indent-tabs-mode: t
00043  * End:
00044  */