3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(gmp_init(''));
Output for 5.6.0 - 5.6.20, 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.5, 7.0.14 - 7.1.0
Warning: gmp_init(): Unable to convert variable to GMP - string is not an integer in /in/7XJON on line 1 bool(false)
Output for 7.0.6
Fatal error: Uncaught Error: Call to undefined function gmp_init() in /in/7XJON:1 Stack trace: #0 {main} thrown in /in/7XJON on line 1
Process exited with code 255.
Output for 5.2.3 - 5.3.29, 5.5.35, 5.6.21
Fatal error: Call to undefined function gmp_init() in /in/7XJON on line 1
Process exited with code 255.
Output for 5.4.0 - 5.5.34
bool(false)
Output for 5.0.0 - 5.2.2
<br /> <b>Fatal error</b>: Call to undefined function gmp_init() in <b>/in/7XJON</b> on line <b>1</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: gmp_init() in <b>/in/7XJON</b> on line <b>1</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: gmp_init() in <b>/in/7XJON</b> on line <b>1</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: gmp_init() in <b>/in/7XJON</b> on line <b>1</b><br />