Fix crashes in GMP serialize/unserialize
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix crashes in GMP serialize/unserialize
  enable gmp for tests