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  


 [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