3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foobar = 'foobar'; $strIn = "0fdd1b835ef40f85f56680d773b0a731d9cf8a326a30ca303f037dd86690bd34e51fc605870f5b17e8ee7bbbbea9cd9c14ebaa50d22c3a4c10565141d6531c6af82855f93872962a90d63ff34d985f98e735a0dbb8449e992bdfd13dcf4cc91014cd4752fcdfc998e260a16e8d7e3f8c6fe0e6b81a14b2c867a706093ed90ea2cca2af47f99bc24ec62024cfa92bf4f07e4155ee06b70f024902400cab479d605368b4af2104e522eb7c40c5c21287faeaabb693bd728af0c0738a56c94ab23f8f173d99834277569a5ede36de2578b69a737d93e1cec0c7d3fa6dc4e68ebc43ad8751cc73390682fc12af0ea66aa958f4d0eb82676296f996ec4db56a2a067fad79355949635755c5b3c466a8f8901a90cab34e1c8d2d1c7b043f435f4cc909ec11692e9eb6136ef4cc4582e79ef59db59b091f091eae6769f2d0541f5fcce9569e4cb8fc28672603727956bada7c2e38718d7118c42460d7efc16dc54263dae1e959bfa5182189075c7efbd14fa86d"; $strIn = pack('H*', $strIn); $foo = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $foobar, $strIn, MCRYPT_MODE_CBC, $foobar); var_dump($foo);
Output for 7.0.6 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/cVqZP:6 Stack trace: #0 {main} thrown in /in/cVqZP on line 6
Process exited with code 255.
Output for 5.6.7 - 5.6.20, 7.0.0 - 7.0.5
Warning: mcrypt_decrypt(): Key of size 6 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /in/cVqZP on line 6 bool(false)
Output for 5.4.34 - 5.5.34, hhvm-3.10.0 - 3.12.0
Warning: mcrypt_decrypt(): The IV parameter must be as long as the blocksize in /in/cVqZP on line 6 string(368) "9��C�|���r����^�3�{�3ފ5�[[��~�E�ӊߚ�` 4$�!-d�S#�\`��|��"����8�o��ev��H\�T4 'q� ���H��`,4]���}:�O��;�*��P|;���˖������,BC6�ݐ�7��alfh �Qp�1��7F�I�j2Fn���g�]�q�삘�ś�#i��Au�0�|�->Uk2�$�>��G��<F�%�+ql̥�h������:��ۢZ� "�{�� �=%��OH�Ǜ�^E��ƈ��Uh�f&X;C��}���;���/e�1�6�"s����;?��[�6oi�B�G�O���D*0�HD �{d�)lW �ʮ}pl,"
Output for 5.0.0 - 5.4.32, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_decrypt() in /in/cVqZP on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mcrypt_decrypt() in /in/cVqZP on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mcrypt_decrypt() in /in/cVqZP on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mcrypt_decrypt() in /in/cVqZP on line 6