diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
commit | fb1c77bd4f8a636ba47d720f8ca65fc6baae836d (patch) | |
tree | 1be0390e76d422f7abc36f577178f9683536fa84 /ext/standard/basic_functions.c | |
parent | 71dddd7db7e768ae8145e085fcbb6b6db4a1c40a (diff) | |
download | php-git-fb1c77bd4f8a636ba47d720f8ca65fc6baae836d.tar.gz |
- Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r-- | ext/standard/basic_functions.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 77264d4911..2a349b75fe 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -323,7 +323,7 @@ PHP_INI_BEGIN() PHP_INI_END() -php3_module_entry basic_functions_module = { +zend_module_entry basic_functions_module = { "Basic Functions", /* extension name */ basic_functions, /* function list */ PHP_MINIT(basic), /* process startup */ @@ -810,7 +810,7 @@ PHP_FUNCTION(get_magic_quotes_gpc) } -void php3_is_type(INTERNAL_FUNCTION_PARAMETERS,int type) +void php_is_type(INTERNAL_FUNCTION_PARAMETERS,int type) { pval **arg; @@ -827,37 +827,37 @@ void php3_is_type(INTERNAL_FUNCTION_PARAMETERS,int type) PHP_FUNCTION(is_resource) { - php3_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_RESOURCE); + php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_RESOURCE); } PHP_FUNCTION(is_bool) { - php3_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_BOOL); + php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_BOOL); } PHP_FUNCTION(is_long) { - php3_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_LONG); + php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_LONG); } PHP_FUNCTION(is_double) { - php3_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_DOUBLE); + php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_DOUBLE); } PHP_FUNCTION(is_string) { - php3_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_STRING); + php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_STRING); } PHP_FUNCTION(is_array) { - php3_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_ARRAY); + php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_ARRAY); } PHP_FUNCTION(is_object) { - php3_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_OBJECT); + php_is_type(INTERNAL_FUNCTION_PARAM_PASSTHRU, IS_OBJECT); } |