Re: #25060 [NEW]: Math_Integer/Integer/gmp.php uses raisError() instead of raiseError()
| From: | Stefan Neufeind | Date: | Tue, 12 Aug 2003 22:53:44 +0000 |
| Subject: | Re: #25060 [NEW]: Math_Integer/Integer/gmp.php uses raisError() instead of raiseError() | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19610@lists.php.net to get a copy of this message | ||
just to understand "how it works" on pear generally:
why you filed a bug?
wasn't it corrected in cvs? if not: why didn't you simply submit a
patch to cvs?
Stefan
On 12 Aug 2003 at 20:31, cellog@php.net wrote:
> From: cellog@php.net
> Operating system: na
> PHP version: Irrelevant
> PHP Bug Type: PEAR related
> Bug description: Math_Integer/Integer/gmp.php uses raisError()
> instead of raiseError()
>
> Description:
> ------------
> function pow(&$int) {/*{{{*/
> if (!$this->_is(&$int, 'Math_Integer_GMP')) {
> return PEAR::raiseError('Parameter is not a
> Math_Integer_GMP
> object');
> }
> if ($int->isNegative()) {
> return PEAR::raisError('Exponent cannot be negative');
>
>
> return PEAR::raisError should be PEAR::raiseError
>
> *ahem* testing may be in order before committing :)