3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(extension_loaded('sodium')) { echo "libsodium is present.\n"; } printf("Opcache is %s.\n", ini_get('opcache.enable')); $super_important_data = 'The quick brown fox jumps over the lazy dog\'s back.'; $private_key = base64_decode('zB4nMZZjjEUZPsCDo5YgoFiYsXFHpdfImGiybqT6MwgshCDnt/IVzQ19vY1X9l2GyP/V1NcYQf2XlLjYrTtEZg=='); $public_key = base64_decode('LIQg57fyFc0Nfb2NV/Zdhsj/1dTXGEH9l5S42K07RGY='); $super_important_signature = sodium_crypto_sign_detached($super_important_data, $private_key);
Output for git.master, git.master_jit, rfc.property-hooks
Opcache is 1. Fatal error: Uncaught Error: Call to undefined function sodium_crypto_sign_detached() in /in/Lh5sQ:13 Stack trace: #0 {main} thrown in /in/Lh5sQ on line 13
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:
53.13 ms | 401 KiB | 8 Q