summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-02-21 11:53:34 +0000
committerAntony Dovgal <tony2001@php.net>2008-02-21 11:53:34 +0000
commitfe4e73238a9ba6c781420915d121ca4f51cf8644 (patch)
tree8489155cc1100f74df41b6424f0e279c44899cc7 /ext/standard/math.c
parentbb1ee6d14a8e2dfc5fdd78bf9001a0a9d189b277 (diff)
downloadphp-git-fe4e73238a9ba6c781420915d121ca4f51cf8644.tar.gz
ws->tab fixes
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index ddd3541f97..3e3b45c100 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -471,14 +471,13 @@ PHP_FUNCTION(pow)
Returns e raised to the power of the number */
PHP_FUNCTION(exp)
{
- double num;
+ double num;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) {
- return;
- }
-
- RETURN_DOUBLE(exp(num));
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) {
+ return;
+ }
+ RETURN_DOUBLE(exp(num));
}
/* }}} */