diff options
author | Zeev Suraski <zeev@php.net> | 1999-08-02 19:17:14 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-08-02 19:17:14 +0000 |
commit | 3cb1eb047187d53688545ae6f64d4df880298e72 (patch) | |
tree | 7fb20f178b9df5a33a83a2b7537f5614910697c0 /ext/bcmath | |
parent | 07e0885519ccabbd9cebfce7223be657171a6629 (diff) | |
download | php-git-3cb1eb047187d53688545ae6f64d4df880298e72.tar.gz |
Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
Diffstat (limited to 'ext/bcmath')
-rw-r--r-- | ext/bcmath/bcmath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index 6adc1468a5..d4a7032376 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -231,7 +231,7 @@ PHP_FUNCTION(bcdiv) return_value->type = IS_STRING; break; case -1: /* division by zero */ - php3_error(E_WARNING,"Division by zero"); + php_error(E_WARNING,"Division by zero"); break; } free_num(&first); @@ -272,7 +272,7 @@ PHP_FUNCTION(bcmod) return_value->type = IS_STRING; break; case -1: - php3_error(E_WARNING,"Division by zero"); + php_error(E_WARNING,"Division by zero"); break; } free_num(&first); @@ -358,7 +358,7 @@ PHP_FUNCTION(bcsqrt) return_value->value.str.len = strlen(return_value->value.str.val); return_value->type = IS_STRING; } else { - php3_error(E_WARNING,"Square root of negative number"); + php_error(E_WARNING,"Square root of negative number"); } free_num(&result); return; |