3v4l.org

run code in 300+ PHP versions simultaneously
<?php function rsa_decrypt($value, $private_key_e, $public_key_n) { $resp = gmp_powm($value, $private_key_e, $public_key_n); return $resp; } $txt = base64_decode("O6d9IbAVAAADGfCRXooAACNG006bSQEAL/q3GkE7AAA="); $e = "Rivest_Shamir_Adleman"; $n = "MTE6Mzc5MzgxMDk4NDM2MzQ5"; echo rsa_decrypt($txt, $e, $n); ?>
Output for git.master_jit, git.master, rfc.property-hooks
Fatal error: Uncaught ValueError: gmp_powm(): Argument #1 ($num) is not an integer string in /in/K8ZoP:3 Stack trace: #0 /in/K8ZoP(3): gmp_powm(';\xA7}!\xB0\x15\x00\x00\x03\x19\xF0\x91^\x8A\x00...', 'Rivest_Shamir_A...', 'MTE6Mzc5MzgxMDk...') #1 /in/K8ZoP(9): rsa_decrypt(';\xA7}!\xB0\x15\x00\x00\x03\x19\xF0\x91^\x8A\x00...', 'Rivest_Shamir_A...', 'MTE6Mzc5MzgxMDk...') #2 {main} thrown in /in/K8ZoP on line 3
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:
59.03 ms | 401 KiB | 8 Q