3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex(sodium_crypto_box_publickey_from_secretkey(pack('H*', '6A2CB91DA5FB77B12A99C0EB872F4CDF4566B25172C1163C7DA518730A6D0770'))) . "\n"; // IETF Draft echo bin2hex(sodium_crypto_box_publickey_from_secretkey(pack('H*', '77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a'))) . "\n"; // IETF RFC
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function sodium_crypto_box_publickey_from_secretkey() in /in/i61aE:3 Stack trace: #0 {main} thrown in /in/i61aE 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:
52.51 ms | 401 KiB | 8 Q