3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = mcrypt_create_iv(16, MCRYPT_DEV_URANDOM); var_dump(mb_substr($data, 5, 10)); var_dump(substr($data, 5, 10));
Output for 7.0.6 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /in/DPJWh:2 Stack trace: #0 {main} thrown in /in/DPJWh on line 2
Process exited with code 255.
Output for 7.0.5
string(10) "^@�uUD]��" string(10) "�^@�uUD]�"
Output for 7.0.4
string(11) "���f0����" string(10) "���f0���"
Output for 7.0.3
string(10) "��ΐ�-s�" string(10) "���ΐ�-s"
Output for 7.0.2
string(9) "<?�� �v�" string(10) "��<?�� �v"
Output for 7.0.1
string(6) "�ܱ�<3" string(10) "�g��ܱ�<"
Output for 7.0.0
string(11) "����8K��T" string(10) "����8K��"
Output for hhvm-3.12.0
string(10) "ñ��e�P_�u" string(10) "�ñ��e�P_�"
Output for hhvm-3.10.0
string(8) "w ���5X0" string(10) "�7w ���5X"
Output for 5.0.0 - 5.3.29, 5.5.35 - 5.5.36, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_create_iv() in /in/DPJWh on line 2
Process exited with code 255.
Output for 5.6.20
string(11) "�7�Jߺ+ D�i" string(10) "�7�Jߺ+ D�"
Output for 5.6.19
string(10) "t?���oU��" string(10) "t?���oU�"
Output for 5.6.18
string(10) "�p�]80(c�" string(10) "�p�]80(c"
Output for 5.6.17
string(10) "b�j@7=���" string(10) "�b�j@7=���"
Output for 5.6.16
string(7) "�*S҄" string(10) "�E� �*S�"
Output for 5.6.15
string(8) "m�I ��V" string(10) "ũm�I ��"
Output for 5.6.14
string(11) "����N��r" string(10) "����N��r"
Output for 5.6.13
string(10) "@tX8�R搩" string(10) "�@tX8�R�"
Output for 5.6.12
string(8) "QG'�GO'�" string(10) "ɤjQG'�GO'"
Output for 5.6.11
string(8) "���g�Y�" string(10) "������g�Y"
Output for 5.6.10
string(11) "s;P��Up#�" string(10) "s;P��Up#"
Output for 5.6.9
string(11) "�_d�y��|p" string(10) "�_d�y��|"
Output for 5.6.8
string(8) "o]����J�" string(10) "�PAo]����J"
Output for 5.6.7
string(7) "Q1sm��" string(10) "���nQ1sm�"
Output for 5.6.6
string(10) "T��i�=���" string(10) " T��i�=��"
Output for 5.6.5
string(10) "����e?N��" string(10) "�����e?N�"
Output for 5.6.4
string(10) "Ǚ�gs�it�>" string(10) "@Ǚ�gs�it�"
Output for 5.6.3
string(8) "��Jpۏ�" string(10) "�|���Jpۏ�"
Output for 5.6.2
string(10) " u {V��-" string(10) " u {V��-"
Output for 5.6.1
string(11) "h~%_���pQ" string(10) "h~%_���p"
Output for 5.6.0
string(11) "Q��7Y��7�" string(10) "Q��7Y��7"
Output for 5.5.34
string(10) "�H�N*��Sv" string(10) "�H�N*��Sv"
Output for 5.5.33
string(10) "Un��8�����" string(10) "Un��8�����"
Output for 5.5.32
string(10) "�р^i>A�B" string(10) "�р^i>A�B"
Output for 5.5.31
string(10) "ȟ��'gw�" string(10) "ȟ��'gw�"
Output for 5.5.30
string(10) " ��Z�} " string(10) " ��Z�} "
Output for 5.5.29
string(10) "�Fa�T��p�" string(10) "�Fa�T��p�"
Output for 5.5.28
string(10) "��r*�Cˢ�" string(10) "��r*�Cˢ�"
Output for 5.5.27
string(10) "��9��PG���" string(10) "��9��PG���"
Output for 5.5.26
string(10) "�u��Iֶ��" string(10) "�u��Iֶ��"
Output for 5.5.25
string(10) "�享���F'" string(10) "�享���F'"
Output for 5.5.24
string(10) "�h��Qt�<�{" string(10) "�h��Qt�<�{"
Output for 5.5.23
string(10) "�눂ܸM{k�" string(10) "�눂ܸM{k�"
Output for 5.5.22
string(10) "=�T�&�<C�L" string(10) "=�T�&�<C�L"
Output for 5.5.21
string(10) "dn��(Orr" string(10) "dn��(Orr"
Output for 5.5.20
string(10) "�=�x*��S�" string(10) "�=�x*��S�"
Output for 5.5.19
string(10) "}[ �j���" string(10) "}[ �j���"
Output for 5.5.18
string(10) ":���� ���" string(10) ":���� ���"
Output for 5.5.16
string(10) "�&�E�:�" string(10) "�&�E�:�"
Output for 5.5.15
string(10) "�y@��OE" string(10) "�y@��OE"
Output for 5.5.14
string(10) "<}�|��" string(10) "<}�|��"
Output for 5.5.13
string(10) "C6ք���*�%" string(10) "C6ք���*�%"
Output for 5.5.12
string(10) " �Je�w�" string(10) " �Je�w�"
Output for 5.5.11
string(10) "(F��}��jh" string(10) "(F��}��jh"
Output for 5.5.10
string(10) ";5��e3Z?�" string(10) ";5��e3Z?�"
Output for 5.5.9
string(10) "[�,��|��" string(10) "[�,��|��"
Output for 5.5.8
string(10) "�W�J⼕��" string(10) "�W�J⼕��"
Output for 5.5.7
string(10) " ��/��݁f�" string(10) " ��/��݁f�"
Output for 5.5.6
string(10) "��u� t/ˈ" string(10) "��u� t/ˈ"
Output for 5.5.5
string(10) "�w�k�;"�1" string(10) "�w�k�;"�1"
Output for 5.5.4
string(10) "��W���xw��" string(10) "��W���xw��"
Output for 5.5.3
string(10) "K���F�|�3�" string(10) "K���F�|�3�"
Output for 5.5.2
string(10) "��+�uw��" string(10) "��+�uw��"
Output for 5.5.1
string(10) "J5ڭ�0�ƺ�" string(10) "J5ڭ�0�ƺ�"
Output for 5.5.0
string(10) "'�fx�� S�" string(10) "'�fx�� S�"
Output for 5.4.45
string(10) "C�����~�" string(10) "C�����~�"
Output for 5.4.44
string(10) "����YX�" string(10) "����YX�"
Output for 5.4.43
string(10) "ieD�^‘�[" string(10) "ieD�^‘�["
Output for 5.4.42
string(10) "v36A,�{� " string(10) "v36A,�{� "
Output for 5.4.41
string(10) "�<Z���)&" string(10) "�<Z���)&"
Output for 5.4.40
string(10) "p���i۝�" string(10) "p���i۝�"
Output for 5.4.39
string(10) "f�ʱM � �" string(10) "f�ʱM � �"
Output for 5.4.38
string(10) "�[O�RT�V " string(10) "�[O�RT�V "
Output for 5.4.37
string(10) "a���P���" string(10) "a���P���"
Output for 5.4.36
string(10) "nE���X�^" string(10) "nE���X�^"
Output for 5.4.35
string(10) "��jr.�Q9�" string(10) "��jr.�Q9�"
Output for 5.4.34
string(10) "����# :6�" string(10) "����# :6�"
Output for 5.4.32
string(10) "\J: ���" string(10) "\J: ���"
Output for 5.4.31
string(10) "{�5���-W" string(10) "{�5���-W"
Output for 5.4.30
string(10) "�%����͉" string(10) "�%����͉"
Output for 5.4.29
string(10) "�#K?��I�" string(10) "�#K?��I�"
Output for 5.4.28
string(10) "#U��Dbn" string(10) "#U��Dbn"
Output for 5.4.27
string(10) "�>8��." string(10) "�>8��."
Output for 5.4.26
string(10) "jy�*X� ��" string(10) "jy�*X� ��"
Output for 5.4.25
string(10) "�"�����" string(10) "�"�����"
Output for 5.4.24
string(10) "�޷� ���L�" string(10) "�޷� ���L�"
Output for 5.4.23
string(10) "�ͥ&)�X�" string(10) "�ͥ&)�X�"
Output for 5.4.22
string(10) "7�K&)��}wt" string(10) "7�K&)��}wt"
Output for 5.4.21
string(10) "��G��U��8" string(10) "��G��U��8"
Output for 5.4.20
string(10) "��΅8���" string(10) "��΅8���"
Output for 5.4.19
string(10) "�R�K�ҕ6" string(10) "�R�K�ҕ6"
Output for 5.4.18
string(10) "��&��J>y" string(10) "��&��J>y"
Output for 5.4.17
string(10) "�E���; z�" string(10) "�E���; z�"
Output for 5.4.16
string(10) "m������]" string(10) "m������]"
Output for 5.4.15
string(10) "�I+e+��q" string(10) "�I+e+��q"
Output for 5.4.14
string(10) "!t�}(ץp~" string(10) "!t�}(ץp~"
Output for 5.4.13
string(10) "�P�V󭕼�" string(10) "�P�V󭕼�"
Output for 5.4.12
string(10) "�����as" string(10) "�����as"
Output for 5.4.11
string(10) "�^> <�m��" string(10) "�^> <�m��"
Output for 5.4.10
string(10) "��?�b��BH�" string(10) "��?�b��BH�"
Output for 5.4.9
string(10) "9��r�� Q/" string(10) "9��r�� Q/"
Output for 5.4.8
string(10) "�1� zm� F" string(10) "�1� zm� F"
Output for 5.4.7
string(10) "��4U��D�?" string(10) "��4U��D�?"
Output for 5.4.6
string(10) "ܬ�t|g�H" string(10) "ܬ�t|g�H"
Output for 5.4.5
string(10) "�V���$��" string(10) "�V���$��"
Output for 5.4.4
string(10) "�J�,��ɢ" string(10) "�J�,��ɢ"
Output for 5.4.3
string(10) "D9�o���F" string(10) "D9�o���F"
Output for 5.4.2
string(10) ")j�V?�9�E�" string(10) ")j�V?�9�E�"
Output for 5.4.1
string(10) "���Ia��s�" string(10) "���Ia��s�"
Output for 5.4.0
string(10) "���$��j�7" string(10) "���$��j�7"
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mcrypt_create_iv() in /in/DPJWh on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mcrypt_create_iv() in /in/DPJWh on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mcrypt_create_iv() in /in/DPJWh on line 2