3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foobar = 'yXXX24ZXXXyACJGi'; $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.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/lnWn7:6 Stack trace: #0 {main} thrown in /in/lnWn7 on line 6
Process exited with code 255.
Output for 5.4.34 - 5.4.45, 5.5.24 - 5.5.34, 5.6.8 - 5.6.20, 7.0.0 - 7.0.5
string(368) "�E�fm?V����E*)t��ݱ+[����b��lमZ�YK�'��U�.�?���h��~�,��uo�b��N8�C��/�E��킗�Ӣ�J�p����d<;��p���� MM�J�Wm�~%�Q|Ū�d���>p��d��4��3d�l�$�����TF�r�>�2(��h���f�U$t���䲹D0{x�C���f��[�q�����랴��8-�l����`F6�'�5��I�jM&>��&h�MD��/��<��J���1qр���p�-�b�j������MBÔ�2�że����*Na�[�`2�k��-�'����Ե���U���ޛm����3ID"
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.32, 5.5.35, 5.6.21
Fatal error: Call to undefined function mcrypt_decrypt() in /in/lnWn7 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/lnWn7 on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: mcrypt_decrypt() in /in/lnWn7 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/lnWn7 on line 6

preferences:
207.68 ms | 401 KiB | 327 Q