3v4l.org

run code in 300+ PHP versions simultaneously
<?php class number { public function __toString(){ return "1"; } } $number = new number(); gmp_powm ($number, "31", "2147483649");
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: gmp_powm(): Argument #1 ($num) must be of type GMP|string|int, number given in /in/TjTIJ:11 Stack trace: #0 /in/TjTIJ(11): gmp_powm(Object(number), '31', '2147483649') #1 {main} thrown in /in/TjTIJ on line 11
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
49.98 ms | 401 KiB | 8 Q