2000-03-07 04:37:11 +08:00
|
|
|
/* -*- C -*-
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2004-01-09 01:33:29 +08:00
|
|
|
| PHP Version 5 |
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2007-01-02 03:32:10 +08:00
|
|
|
| Copyright (c) 1997-2007 The PHP Group |
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 20:51:34 +08:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
1999-12-07 19:37:30 +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: |
|
2006-01-01 20:51:34 +08:00
|
|
|
| http://www.php.net/license/3_01.txt |
|
1999-12-07 19:37:30 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Authors: Andi Gutmans <andi@zend.com> |
|
|
|
|
| Zeev Suraski <zeev@zend.com> |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
#include "php.h"
|
2000-06-06 07:24:42 +08:00
|
|
|
#include "php_main.h"
|
2001-02-27 02:14:50 +08:00
|
|
|
#include "zend_modules.h"
|
1999-04-08 05:05:13 +08:00
|
|
|
#include "zend_compile.h"
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
1999-05-03 19:11:23 +08:00
|
|
|
@EXT_INCLUDE_CODE@
|
1999-04-17 08:37:12 +08:00
|
|
|
|
2006-08-13 03:33:54 +08:00
|
|
|
static zend_module_entry *php_builtin_extensions[] = {
|
1999-05-03 19:11:23 +08:00
|
|
|
@EXT_MODULE_PTRS@
|
1999-04-08 05:05:13 +08:00
|
|
|
};
|
|
|
|
|
1999-12-08 04:49:01 +08:00
|
|
|
#define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
|
1999-09-04 01:46:39 +08:00
|
|
|
|
2008-08-22 20:59:46 +08:00
|
|
|
PHPAPI int php_register_internal_extensions(TSRMLS_D)
|
1999-04-08 05:05:13 +08:00
|
|
|
{
|
2005-06-17 17:39:23 +08:00
|
|
|
return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
|
1999-04-08 05:05:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* End:
|
|
|
|
*/
|