3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ctx = hash_init( 'sha256', HASH_HMAC, "\0" ); var_dump(hash_final($ctx, true)); var_dump(hash_final($ctx, true));
Output for git.master, git.master_jit, rfc.property-hooks
string(32) "�g���w/��x�_��ēqVS��B�ŭ" Fatal error: Uncaught TypeError: hash_final(): Argument #1 ($context) must be a valid Hash Context resource in /in/6fMj0:5 Stack trace: #0 /in/6fMj0(5): hash_final(Object(HashContext), true) #1 {main} thrown in /in/6fMj0 on line 5
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:
48.16 ms | 401 KiB | 8 Q