#25059 [NEW]: Math_Integer/Integer/gmp.php uses isError() instead of raiseError()

From: Date: Tue, 12 Aug 2003 20:28:52 +0000
Subject: #25059 [NEW]: Math_Integer/Integer/gmp.php uses isError() instead of raiseError()
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19595@lists.php.net to get a copy of this message
From: cellog@php.net Operating system: na PHP version: Irrelevant PHP Bug Type: PEAR related Bug description: Math_Integer/Integer/gmp.php uses isError() instead of raiseError() Description: ------------ function sqrt() {/*{{{*/ if ($this->isZero()) { return true; } elseif ($this->isNegative()) { return PEAR::isError('Cannot take square root of a negative number'); this should read function sqrt() {/*{{{*/ if ($this->isZero()) { return true; } elseif ($this->isNegative()) { return PEAR::raiseError('Cannot take square root of a negative number'); -- Edit bug report at http://bugs.php.net/?id=25059&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25059&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25059&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25059&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25059&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25059&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25059&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25059&r=support Expected behavior: http://bugs.php.net/fix.php?id=25059&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25059&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25059&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25059&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25059&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25059&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25059&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25059&r=gnused

« previous php.pear.dev (#19595) next »