1/* -*- C -*-
2 +----------------------------------------------------------------------+
3 | PHP Version 5 |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1997-2007 The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP 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.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
15 | Authors: Andi Gutmans <andi@zend.com> |
16 | Zeev Suraski <zeev@zend.com> |
17 +----------------------------------------------------------------------+
18 */
19
20/* $Id$ */
21
22#include "php.h"
23#include "php_main.h"
24#include "zend_modules.h"
25#include "zend_compile.h"
26#include <stdarg.h>
27#include <stdlib.h>
28#include <stdio.h>
29
30#include "ext/date/php_date.h"
31#include "ext/ereg/php_ereg.h"
32#include "ext/libxml/php_libxml.h"
33#include "ext/pcre/php_pcre.h"
34#include "ext/sqlite3/php_sqlite3.h"
35#include "ext/ctype/php_ctype.h"
36#include "ext/curl/php_curl.h"
37#include "ext/dom/php_dom.h"
38#include "ext/fileinfo/php_fileinfo.h"
39#include "ext/filter/php_filter.h"
40#include "ext/hash/php_hash.h"
41#include "ext/iconv/php_iconv.h"
42#include "ext/json/php_json.h"
43#include "ext/pdo/php_pdo.h"
44#include "ext/pdo_sqlite/php_pdo_sqlite.h"
45#include "ext/phar/php_phar.h"
46#include "ext/posix/php_posix.h"
47#include "ext/reflection/php_reflection.h"
48#include "ext/session/php_session.h"
49#include "ext/simplexml/php_simplexml.h"
50#include "ext/spl/php_spl.h"
51#include "ext/standard/php_standard.h"
52#include "ext/tokenizer/php_tokenizer.h"
53#include "ext/xml/php_xml.h"
54#include "ext/xmlreader/php_xmlreader.h"
55#include "ext/xmlwriter/php_xmlwriter.h"
56
57
58static zend_module_entry *php_builtin_extensions[] = {
59 phpext_date_ptr,
60 phpext_ereg_ptr,
61 phpext_libxml_ptr,
62 phpext_pcre_ptr,
63 phpext_sqlite3_ptr,
64 phpext_ctype_ptr,
65 phpext_curl_ptr,
66 phpext_dom_ptr,
67 phpext_fileinfo_ptr,
68 phpext_filter_ptr,
69 phpext_hash_ptr,
70 phpext_iconv_ptr,
71 phpext_json_ptr,
72 phpext_pdo_ptr,
73 phpext_pdo_sqlite_ptr,
74 phpext_phar_ptr,
75 phpext_posix_ptr,
76 phpext_reflection_ptr,
77 phpext_session_ptr,
78 phpext_simplexml_ptr,
79 phpext_spl_ptr,
80 phpext_standard_ptr,
81 phpext_tokenizer_ptr,
82 phpext_xml_ptr,
83 phpext_xmlreader_ptr,
84 phpext_xmlwriter_ptr,
85
86};
87
88#define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
89
90PHPAPI int php_register_internal_extensions(TSRMLS_D)
91{
92 return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
93}
94
95/*
96 * Local variables:
97 * tab-width: 4
98 * c-basic-offset: 4
99 * End:
100 */
101