3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $decimal = gmp_init('123E-5');
based on i1nP9
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.2.6, 7.3.0rc3
Warning: gmp_init(): Unable to convert variable to GMP - string is not an integer in /in/3Z2m1 on line 3
Output for 7.3.0alpha1 - 7.3.0beta1
Fatal error: Uncaught Error: Call to undefined function gmp_init() in /in/3Z2m1:3 Stack trace: #0 {main} thrown in /in/3Z2m1 on line 3
Process exited with code 255.
Output for hhvm-3.15.4