3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(gmp_init('123'));
based on 99vol
Output for 5.6.0 - 5.6.38, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.2.11
object(GMP)#1 (1) { ["num"]=> string(3) "123" }
Output for 5.0.0 - 5.5.16, 5.5.18 - 5.5.38
Fatal error: Call to undefined function gmp_init() in /in/nUSTR on line 3
Process exited with code 255.
Output for 5.5.17
resource(4) of type (GMP integer)
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: gmp_init() in /in/nUSTR on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: gmp_init() in /in/nUSTR on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: gmp_init() in /in/nUSTR on line 3