Re: #25060 [NEW]: Math_Integer/Integer/gmp.php uses raisError() instead of raiseError()
| From: | nicos@php.net | Date: | Tue, 12 Aug 2003 23:46:10 +0000 |
| Subject: | Re: #25060 [NEW]: Math_Integer/Integer/gmp.php uses raisError() instead of raiseError() | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-19622@lists.php.net to get a copy of this message | ||
"Cellog@Php.Net" <pear-dev@lists.php.net> a écrit dans le message de
news:bug-25060@bugs.php.net...
> 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 :)
>
Hmm, there is no need of 2 bugs reports. Please add a comment on this one
that give out the infos of the second and close the second as a duplicate.
Its the same problem, he is using isError/raisError where he should use
raiseError.
Btw that typo can be corrected even by a non maintainer/developper no?
>
> --
> Edit bug report at http://bugs.php.net/?id=25060&edit=1
> --
> Try a CVS snapshot (php4):
http://bugs.php.net/fix.php?id=25060&r=trysnapshot4
> Try a CVS snapshot (php5):
http://bugs.php.net/fix.php?id=25060&r=trysnapshot5
> Fixed in CVS:
http://bugs.php.net/fix.php?id=25060&r=fixedcvs
> Fixed in release:
http://bugs.php.net/fix.php?id=25060&r=alreadyfixed
> Need backtrace:
http://bugs.php.net/fix.php?id=25060&r=needtrace
> Try newer version:
http://bugs.php.net/fix.php?id=25060&r=oldversion
> Not developer issue:
> http://bugs.php.net/fix.php?id=25060&r=support
> Expected behavior:
http://bugs.php.net/fix.php?id=25060&r=notwrong
> Not enough info:
http://bugs.php.net/fix.php?id=25060&r=notenoughinfo
> Submitted twice:
http://bugs.php.net/fix.php?id=25060&r=submittedtwice
> register_globals:
> http://bugs.php.net/fix.php?id=25060&r=globals
> PHP 3 support discontinued:
> http://bugs.php.net/fix.php?id=25060&r=php3
> Daylight Savings:
> http://bugs.php.net/fix.php?id=25060&r=dst
> IIS Stability:
> http://bugs.php.net/fix.php?id=25060&r=isapi
> Install GNU Sed: ƒPåp.!
> éG¢þu2þZhttp://bugs.php.net/fix.php?id=25060&r=gnused
>