summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-02-21 11:53:51 +0000
committerAntony Dovgal <tony2001@php.net>2008-02-21 11:53:51 +0000
commit00315b1d4276434d7ef2a2db83358ba72cd98cbd (patch)
treeeb9d055ec9490dbd7b13949fccffda0eaf1c9e3a
parent7c40e93b69e64a057963ecbfa2c701e84e4be359 (diff)
downloadphp-git-00315b1d4276434d7ef2a2db83358ba72cd98cbd.tar.gz
MF53
-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));
}
/* }}} */