3v4l.org

run code in 200+ PHP versions simultaneously
<?php /* * Fill in unhashed & hashed seeds below and click blue 'eval();' button below textarea. * * ------------------ */ $hashedSeed = 'paste initial hashed server seed here'; $unhashedSeed = 'paste given unhashed server seed here'; $hash = hash('sha256', $unhashedSeed); echo "Generated hash: $hash\n"; echo 'Does hash match? ' . ($hashedSeed == $hash ? 'Yes' : 'No') . "\n";
based on pvK8r

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
Generated hash: b9f9c1438f5cbbd80600d588e93cc8cdcc0e622cf9c86d469f5b563cdde433bc Does hash match? No
Output for branch php-master+opcache
Generated hash: b9f9c1438f5cbbd80600d588e93cc8cdcc0e622cf9c86d469f5b563cdde433bc Does hash match? No
Output for branch php-master+jit
Generated hash: b9f9c1438f5cbbd80600d588e93cc8cdcc0e622cf9c86d469f5b563cdde433bc Does hash match? No
Output for Typed properties v2
Generated hash: b9f9c1438f5cbbd80600d588e93cc8cdcc0e622cf9c86d469f5b563cdde433bc Does hash match? No
Output for Arrow functions
/bin/php-rfc-arrow_functions: error while loading shared libraries: libicui18n.so.58: cannot open shared object file: No such file or directory
Process exited with code 127.
Output for Object typehint
/bin/php-rfc-object-typehint: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory
Process exited with code 127.
Output for Array change keys
/bin/php-rfc-array_change_keys: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory
Process exited with code 127.
Output for Lexical anon
/bin/php-rfc-lexical-anon: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory
Process exited with code 127.

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