3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = openssl_encrypt('0000000000000000', 'aes-128-ctr', '0123456789abcdef', OPENSSL_RAW_DATA, '0000000000000000'); $y = openssl_encrypt('0000000000000001', 'aes-128-ctr', '0123456789abcdef', OPENSSL_RAW_DATA, '0000000000000000'); $z = ''; for ($i = 0; $i < 16; ++$i) { $z .= \chr( \ord($x[$i]) ^ \orf($y[$i]) ); } var_dump( bin2hex($x), bin2hex($y), bin2hex($z) );
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function openssl_encrypt() in /in/995aa:3 Stack trace: #0 {main} thrown in /in/995aa 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:
51.65 ms | 401 KiB | 8 Q