I noticed shortly after filing the bug that this issue *may* be resolved as of
https://github.com/php/php-
src/commit/7713b8c2ac2d8fbacaf897ff0c0a202a7b7abf49#ext/gmp/gmp.c
The issue may have resulted from the lack of a free of temp_b after
https://github.com/php/php-
src/blob/a666285bc2488b7f7362368c388e41428610ad1d/ext/gmp/gmp.c#L1337, which
would apply to all versions except 5.next
[2013-07-09 16:20 UTC] frozenfire@php.net
-PHP Version: master-Git-2013-07-09 (Git) +PHP Version: unknown
[2013-07-09 16:25 UTC] frozenfire@php.net