123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- #include "php.h"
- #include "php_main.h"
- #include "zend_modules.h"
- #include "zend_compile.h"
- #include <stdarg.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include "ext/bcmath/php_bcmath.h"
- #include "ext/gd/php_gd.h"
- #include "ext/standard/dl.h"
- #include "ext/standard/file.h"
- #include "ext/standard/fsock.h"
- #include "ext/standard/head.h"
- #include "ext/standard/pack.h"
- #include "ext/standard/php_browscap.h"
- #include "ext/standard/php_dir.h"
- #include "ext/standard/php_filestat.h"
- #include "ext/standard/php_mail.h"
- #include "ext/standard/php_standard.h"
- #include "ext/standard/php_lcg.h"
- #include "ext/standard/php_array.h"
- #include "ext/standard/php_assert.h"
- #include "ext/calendar/php_calendar.h"
- #include "ext/ftp/php_ftp.h"
- #include "ext/standard/reg.h"
- #include "ext/pcre/php_pcre.h"
-
- #include "ext/session/php_session.h"
-
- static zend_module_entry *php_builtin_extensions[] = {
- phpext_standard_ptr,
- #if HAVE_BCMATH
- phpext_bcmath_ptr,
- #endif
- phpext_calendar_ptr,
- phpext_ftp_ptr,
- #if defined(MBSTR_ENC_TRANS)
- phpext_mbstring_ptr,
- #endif
-
-
- phpext_pcre_ptr,
- phpext_session_ptr,
-
- };
- #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
- PHPAPI int php_register_internal_extensions(TSRMLS_D)
- {
- return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
- }
|