3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(openssl_random_pseudo_bytes(12));
Output for 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 openssl_random_pseudo_bytes() in /in/AGNmZ:2 Stack trace: #0 {main} thrown in /in/AGNmZ on line 2
Process exited with code 255.
Output for 7.1.7
string(12) "��2:�z�#��"
Output for 7.1.6
string(12) "��}�*}|F�"
Output for 7.1.5
string(12) "��q� ��1�"
Output for 7.1.0
string(12) "4l,��&Ę"
Output for 7.0.20
string(12) "�H������5�"
Output for 7.0.14
string(12) "�E��;}{4��"
Output for 7.0.6
string(12) "!�g����@[`�"
Output for 7.0.5
string(12) "��S��O��`�"
Output for 7.0.4
string(12) "EN��O �#o"
Output for 7.0.3
string(12) "M��0�`�s��"
Output for 7.0.2
string(12) "�9��ؒ�i�Ys"
Output for 7.0.1
string(12) "\kse:�s��N�"
Output for 7.0.0
string(12) "��p� ��D"
Output for 5.6.28
string(12) "{�|���q~΃"
Output for 5.6.21
string(12) "N�|&!D���j�"
Output for 5.6.20
string(12) "m�F��,�;Q�"
Output for 5.6.19
string(12) "������V���d"
Output for 5.6.18
string(12) "�0ӧ�� ���p"
Output for 5.6.17
string(12) "���}�fb�Y)"
Output for 5.6.16
string(12) "��߰��0�A"
Output for 5.6.15
string(12) "��h֒�_����"
Output for 5.6.14
string(12) "�%���*�sϿ��"
Output for 5.6.13
string(12) ": �L)�/�hNg"
Output for 5.6.12
string(12) "돋�\`�.V���"
Output for 5.6.11
string(12) "+�}��_G�+���"
Output for 5.6.10
string(12) "�pO0�R���"
Output for 5.6.9
string(12) "��{!* q�@�"
Output for 5.6.8
string(12) "/\!vd^���� "
Output for 5.5.35
string(12) "�%9��:�g�"
Output for 5.5.34
string(12) "��5�Nk���[F"
Output for 5.5.33
string(12) "`�t��C0)szT"
Output for 5.5.32
string(12) "�v��k2,=M�Y�"
Output for 5.5.31
string(12) "o���مR��M"
Output for 5.5.30
string(12) "m!�#};�C]J&"
Output for 5.5.29
string(12) "0" &i(@�� �"
Output for 5.5.28
string(12) "�9���Bdi�5�"
Output for 5.5.27
string(12) "�,���y����"
Output for 5.5.26
string(12) "9Z�?ng�6��H�"
Output for 5.5.25
string(12) ":&��2�r���=g"
Output for 5.5.24
string(12) "�#C �H���[�"
Output for 5.4.45
string(12) "j�0��oPB����"
Output for 5.4.44
string(12) " ��c��O��[�"
Output for 5.4.43
string(12) "�R<5ܤ���o��"
Output for 5.4.42
string(12) "��c������"
Output for 5.4.41
string(12) "�.+�U��x�"
Output for 5.4.40
string(12) "�o��V�Q� �"
Output for 5.4.39
string(12) "�bfzD��^�"
Output for 5.4.38
string(12) "�:9V�2~�I��N"
Output for 5.4.37
string(12) "����\?���"
Output for 5.4.36
string(12) "�F�zڗ�Ƅg��"
Output for 5.4.35
string(12) "="�����D"
Output for 5.4.34
string(12) "�_"�2l��<�"
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
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/AGNmZ on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/AGNmZ on line 2
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: openssl_random_pseudo_bytes() in /in/AGNmZ on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/AGNmZ on line 2

preferences:
228.3 ms | 401 KiB | 327 Q