Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.3

Bug #21039 Compatibility PHP 5.6: GMP numbers aren't resources anymore
Submitted: 2016-03-10 12:55 UTC
From: beat Assigned:
Status: Open Package: Math_BigInteger (version 1.0.2)
PHP Version: 5.6.19 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 27 - 16 = ?

 
 [2016-03-10 12:55 UTC] beat (Beat Rohrer)
Description: ------------ According to the PHP 5.6 release notes (https://secure.php.net/manual/en/migration56.incompatible.php), "GMP resources are now objects. The functional API implemented in the GMP extension has not changed, and code should run unmodified unless it checks explicitly for a resource using is_resource() or similar." The Math_BigInteger class is explicitly checking for "is_resource" in line 337.

Comments