Skip to content

Commit fb1c77b

Browse files
committed
- Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup @- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1 parent 71dddd7 commit fb1c77b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+543
-529
lines changed

ext/apache/apache.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static PHP_MSHUTDOWN_FUNCTION(apache)
113113
}
114114

115115

116-
php3_module_entry apache_module_entry = {
116+
zend_module_entry apache_module_entry = {
117117
"Apache", apache_functions, PHP_MINIT(apache), PHP_MSHUTDOWN(apache), NULL, NULL, PHP_MINFO(apache), STANDARD_MODULE_PROPERTIES
118118
};
119119

ext/aspell/aspell.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ function_entry aspell_functions[] = {
4646

4747
static int le_aspell;
4848

49-
php3_module_entry aspell_module_entry = {
49+
zend_module_entry aspell_module_entry = {
5050
"Aspell", aspell_functions, PHP_MINIT(aspell), NULL, NULL, NULL, PHP_MINFO(aspell), STANDARD_MODULE_PROPERTIES
5151
};
5252

5353

5454
#if COMPILE_DL
55-
DLEXPORT php3_module_entry *get_module(void) { return &aspell_module_entry; }
55+
DLEXPORT zend_module_entry *get_module(void) { return &aspell_module_entry; }
5656
#endif
5757

5858
PHP_MINIT_FUNCTION(aspell)

ext/aspell/php_aspell.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#ifndef _ASPELL_H
3434
#define _ASPELL_H
3535
#if HAVE_ASPELL
36-
extern php3_module_entry aspell_module_entry;
36+
extern zend_module_entry aspell_module_entry;
3737
#define aspell_module_ptr &aspell_module_entry
3838

3939
extern PHP_MINIT_FUNCTION(aspell);

ext/bcmath/bcmath.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ function_entry bcmath_functions[] = {
3636
{NULL, NULL, NULL}
3737
};
3838

39-
php3_module_entry bcmath_module_entry = {
39+
zend_module_entry bcmath_module_entry = {
4040
"bcmath", bcmath_functions, NULL, NULL, PHP_RINIT(bcmath), PHP_RSHUTDOWN(bcmath), NULL, STANDARD_MODULE_PROPERTIES
4141
};
4242

4343
#if COMPILE_DL
44-
php3_module_entry *get_module() { return &bcmath_module_entry; };
44+
zend_module_entry *get_module() { return &bcmath_module_entry; };
4545
#endif
4646

4747
#ifndef THREAD_SAFE

ext/bcmath/php_bcmath.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
#if WITH_BCMATH
4242

43-
extern php3_module_entry bcmath_module_entry;
43+
extern zend_module_entry bcmath_module_entry;
4444
#define phpext_bcmath_ptr &bcmath_module_entry
4545

4646
extern PHP_RINIT_FUNCTION(bcmath);

0 commit comments

Comments
 (0)