3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(gmp_sqrt(gmp_import('evil')));
based on 988t5
Output for 5.6.1 - 5.6.20, 7.0.0 - 7.0.5, 7.0.20 - 7.3.1
object(GMP)#2 (1) { ["num"]=> string(5) "41258" }
Output for 7.0.6 - 7.0.9
Fatal error: Uncaught Error: Call to undefined function gmp_sqrt() in /in/tjec0:3 Stack trace: #0 {main} thrown in /in/tjec0 on line 3
Process exited with code 255.
Output for 5.6.21 - 5.6.24
Fatal error: Call to undefined function gmp_sqrt() in /in/tjec0 on line 3
Process exited with code 255.
Output for 5.6.0
Fatal error: Call to undefined function gmp_import() in /in/tjec0 on line 3
Process exited with code 255.