3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mac = hash_hmac("sha512","Un message suffisamment long pour tomber dans le cas du calcul du hashmac5uc3m01","7h3_1337_k3y",true); $msg=3; print(bin2hex($mac)); $msg=eval("return bin2hex($mac);"); print($msg);
based on 9dC9p
Output for 7.0.0 - 7.2.6
920385d65704d59183293e88cc4ee5c441468f50b76cf08c2ccb721d029f83e6df7635d9725afde92db557b8e448118cf6c6128bb29ad68219e5d704afbb8de5 Warning: Unexpected character in input: '' (ASCII=3) state=0 in /in/K24rs(6) : eval()'d code on line 1 Parse error: syntax error, unexpected '��W' (T_STRING), expecting ',' or ')' in /in/K24rs(6) : eval()'d code on line 1
Process exited with code 255.
Output for 5.4.11 - 5.6.28
920385d65704d59183293e88cc4ee5c441468f50b76cf08c2ccb721d029f83e6df7635d9725afde92db557b8e448118cf6c6128bb29ad68219e5d704afbb8de5 Warning: Unexpected character in input: '' (ASCII=3) state=0 in /in/K24rs(6) : eval()'d code on line 1 Parse error: syntax error, unexpected '��W' (T_STRING) in /in/K24rs(6) : eval()'d code on line 1
Output for 5.4.10
920385d65704d59183293e88cc4ee5c441468f50b76cf08c2ccb721d029f83e6df7635d9725afde92db557b8e448118cf6c6128bb29ad68219e5d704afbb8de5 Warning: Unexpected character in input: '' (ASCII=3) state=0 in /in/K24rs(6) : eval()'d code on line 1 Parse error: syntax error, unexpected '��W' (T_STRING) in /in/K24rs(6) : eval()'d code on line 1
Process exited with code 255.
Output for 5.3.20 - 5.3.29
920385d65704d59183293e88cc4ee5c441468f50b76cf08c2ccb721d029f83e6df7635d9725afde92db557b8e448118cf6c6128bb29ad68219e5d704afbb8de5 Warning: Unexpected character in input: '' (ASCII=3) state=0 in /in/K24rs(6) : eval()'d code on line 1 Parse error: syntax error, unexpected T_STRING in /in/K24rs(6) : eval()'d code on line 1
Process exited with code 255.