3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(+gmp_init('-1'));
Output for 7.1.25 - 7.1.31, 7.2.0 - 7.2.33, 7.3.0 - 7.3.23, 7.4.0 - 7.4.11, 8.0.0alpha1 - rc2
object(GMP)#2 (1) { ["num"]=> string(2) "-1" }