Re: cvs: php-src(PHP_5_3) /ext/standard math.c /ext/standard/tests/math exp_error.phpt
| From: | Nuno Lopes | Date: | Tue, 12 Feb 2008 13:21:18 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/standard math.c /ext/standard/tests/math exp_error.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-48474@lists.php.net to get a copy of this message | ||
@@ -471,14 +471,14 @@ Returns e raised to the power of the number */ PHP_FUNCTION(exp) { - zval **num;you have spaces there instead of tabs. Nuno+ double num;++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) { + return; + }++ RETURN_DOUBLE(exp(num));