3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hA = str_repeat('A', 65); $hB = \hash('sha256', $hA, true); echo $hA . "\n===\n0x" . bin2hex($hB) . "\n\n"; var_dump( hash_hmac('sha256', 'test', $hA) === hash_hmac('sha256', 'test', $hB) ); var_dump( hash_pbkdf2('sha256', $hA, 'test', 10000, 32) === hash_pbkdf2('sha256', $hB, 'test', 10000, 32) );
Output for git.master, git.master_jit, rfc.property-hooks
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA === 0x836203944f4c0280461ad73d31457c22ba19d1d99e232dc231000085899e00a2 bool(true) bool(true)

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:
36.09 ms | 405 KiB | 5 Q