[PEAR-BUG] Bug #20437 [Opn->Bgs]: fatal error

[email protected] Wed, 5 Nov 2014 00:45:32 +0000 (GMT)
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at https://pear.php.net/bugs/bug.php?id=20437&edit=1

 ID:               20437
 Updated by:       [email protected]
 Reported By:      eustachiothecat at gmail dot com
 Summary:          fatal error
-Status:           Open
+Status:           Bogus
 Type:             Bug
 Package:          Math_Fibonacci
 Operating System: windows 8
 Package Version:  Unknown
 PHP Version:      5.5.8
 Roadmap Versions: 
 New Comment:

-Status: Open
+Status: Bogus
Thank you for taking the time to write to us, but this is not
a bug.

Please, do read the information on dependencies in:
http://pear.php.net/package/Math_Fibonacci

Also, if you have used the recommended procedure for installing this
package, then the dependencies should've been also installed.


Previous Comments:
------------------------------------------------------------------------

[2014-11-04 17:14:41] verfan

Description:
------------
Hi, I have this issue
"Fatal error: Call to undefined method Math_IntegerOp::isMath_Integer()
in C:\Program Files
(x86)\EasyPHP-DevServer-14.1VC11\data\localweb\projects\ch02\listing20\Math\Fibonacci.php
on line 210"

what means ?

Thank you
Max

Test script:
---------------
<?php
// include Math_Fibonacci class
include "Math/Fibonacci.php";

// list the first 20 Fibonacci numbers
// result: "0 1 1 2 3 5 8...4181 6765"
$series = Math_Fibonacci::series(20);
foreach ($series as $k=>$v) {
    print $v->toString() . " ";
}

// calculate the 5th Fibonacci number 
// result: 5
$fib5 = Math_Fibonacci::term(5);
print $fib5->toString();
?>


Expected result:
----------------
0 1 1 2 3 5 8...4181 6765

5

Actual result:
--------------
"Fatal error: Call to undefined method Math_IntegerOp::isMath_Integer()
in C:\Program Files
(x86)\EasyPHP-DevServer-14.1VC11\data\localweb\projects\ch02\listing20\Math\Fibonacci.php
on line 210"

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=20437&edit=1