Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 49 lines (41 sloc) 1.781 kB
99e0b36 @Cleaned up extension namespace (Stig)
Stig Bakken authored
1 /* -*- C -*-
aceaabc @zsuraski PHP 4.0
zsuraski authored
2 +----------------------------------------------------------------------+
ccfc46b - Happy new year and PHP 5 for rest of the files too..
foobar authored
3 | PHP Version 5 |
aceaabc @zsuraski PHP 4.0
zsuraski authored
4 +----------------------------------------------------------------------+
2df7386 Update copyright year
Ilia Alshanetsky authored
5 | Copyright (c) 1997-2007 The PHP Group |
aceaabc @zsuraski PHP 4.0
zsuraski authored
6 +----------------------------------------------------------------------+
5bd9322 bump year and license version
foobar authored
7 | This source file is subject to version 3.01 of the PHP license, |
a807dd3 new assert() module. (Not yet finished!)
Thies C. Arntzen authored
8 | that is bundled with this package in the file LICENSE, and is |
f68c7ff updating license information in the headers.
James Cox authored
9 | available through the world-wide-web at the following url: |
5bd9322 bump year and license version
foobar authored
10 | http://www.php.net/license/3_01.txt |
a807dd3 new assert() module. (Not yet finished!)
Thies C. Arntzen authored
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. |
aceaabc @zsuraski PHP 4.0
zsuraski authored
14 +----------------------------------------------------------------------+
15 | Authors: Andi Gutmans <andi@zend.com> |
16 | Zeev Suraski <zeev@zend.com> |
17 +----------------------------------------------------------------------+
18 */
19
20 /* $Id$ */
21
22 #include "php.h"
102c6ce Move main.h to php_main.h.
Sascha Schumann authored
23 #include "php_main.h"
a0d3c5a @andigutmans - Finally rename modules.h to zend_modules.h for consistency (first try
andigutmans authored
24 #include "zend_modules.h"
aceaabc @zsuraski PHP 4.0
zsuraski authored
25 #include "zend_compile.h"
26 #include <stdarg.h>
27 #include <stdlib.h>
28 #include <stdio.h>
29
9a66ffb * added --enable-thread-safety switch
Stig Bakken authored
30 @EXT_INCLUDE_CODE@
257de2b First commit of re-structuring phase one. We have started using auto…
Stig Bakken authored
31
a16935f const/static keywording
Nuno Lopes authored
32 static zend_module_entry *php_builtin_extensions[] = {
9a66ffb * added --enable-thread-safety switch
Stig Bakken authored
33 @EXT_MODULE_PTRS@
aceaabc @zsuraski PHP 4.0
zsuraski authored
34 };
35
8abf724 Provide basis for shared libraries/dlls to contain internal extensions
Sam Ruby authored
36 #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
5b293ec - add global startup/shutdown handlers
Sascha Schumann authored
37
9a2fc26 - MFH Cleanup exports and allow to overwrite ext registration
Marcus Boerger authored
38 PHPAPI int php_register_internal_extensions(TSRMLS_D)
aceaabc @zsuraski PHP 4.0
zsuraski authored
39 {
f47c784 Improved PHP extension loading mechanism with support for module depe…
Dmitry Stogov authored
40 return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
aceaabc @zsuraski PHP 4.0
zsuraski authored
41 }
42
43 /*
44 * Local variables:
45 * tab-width: 4
46 * c-basic-offset: 4
47 * End:
48 */
Something went wrong with that request. Please try again.