[math][php-56] PHP now throws E_WARNING when string is not a valid gmp integer.
[travis] disallow failures for php 5.6
Merge branch 'hotfix/#5957-php-5.6-compatibility'

Close #5957