3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(openssl_random_pseudo_bytes(128)); var_dump(bin2hex(openssl_random_pseudo_bytes(128),128));
based on rcgn3
Output for 7.1.0
string(128) "Em.u]�����ψ R��&䯭�K� >��������_�_��c���vr}߿�i�O�ϫ ��u�8=TK����y��]�3u����aK6>�i��ĩ�� t���0d1��Pԥ�_�k8q|`7Y;h" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.14
string(128) "/��)���eHƢ�+B������v�Xo���:롳��L��'m��w* ���B��`PZ��G=���3j��0�i��7�o񠴓tf(��R��~}�5��mCA�Y�r�bЬx��� Q*�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.6
string(128) "�z?�So~G�ɪ�+?�B ��_,�~�ȑNa",�:0Y�=�hvlf�L����p~Q�\�5�bBݲ�Ek~8$Qp�\8��X��y�i�L� ɞV�Y)i����+�r���i�Ռ��㪘�s�i��� �" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.5
string(128) "w)=5ٲ7�h����ֻBW��;o%����)�� E�n)j��.*��- �E�րm�k�a(�����^MX�3y���Z���ck _�*�� �2G���7�_ס��+[�U!0)x�R�]r'��E.�]�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.4
string(128) ">��m�F��2B�Z:w�J�(�g��]��v�b����q��5X��{-�s��S�ۡ��1谘mU�&�(�;)a�8k䷑�S� ��N"4��Ǵ���t�Z��R��Ƥo�� ˨�ő�o�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.3
string(128) "87�Q� B��f����.O+Y�ԗ��c��� ��4��ŧ�M��\�&�98 �c;�<�K濷=jZ^J��>�tꟓ�Q��D����F���L"��M �@��LS�b}���4�`�u��{x�� 2��n�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.2
string(128) "������Xl-���!�Rdt=8-k���AA�$ߔ��-a�� ��^��鰙_��R��(hh+��]ﶡ���Wu�L/C��I�s�ு��D�����8��6�� ��D ��ތ���ɝ�Sa'�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.1
string(128) "�4���R��r-�Cs�;���1�q3t�����'�42q�� �e�hA��^K�dtRӼ���X�h4���*���j��+�)����F �lh�{� ����� 9���3Z�W�ĝ݄��;t#+�i�$��" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 7.0.0
string(128) "] K�!�h��n\��[3�ㅠ���qs�a��.G���<�jW��Լq #l�m V�N�������J���@���$G[�Y� ��'D�����-�R�s�p�#ZQ�l �-�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for hhvm-3.12.0
string(128) "�;z�Oqn��@�Rzq�F�8�l�{����OC���H0�<�L�d;����L��D�cXg�~����'O�����BK&r�n"�f���VENh#���l� -}8�2E�����=cvO|z" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for hhvm-3.10.0
string(128) "��X4���\/��({�qp�ű�;�x�K�c �y0�HR F�5V���_���h� ��غ��ז*���h&ASR��Y �`��� �Ґ�jB����9�Be�c|0�N$H����(J�7 ƿ�v]�(" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.28
string(128) "�q# �7Q���`�I؂*��`{~�2a�0��&�hy��#�w�3���oT} Gp�J/��I%��\rr���8�|�ܵ���U���gԏV'D��rzB=�tl�/�3c>%*�Wr�.uK�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.21
string(128) "�M_T�q�r�n���W�l�v�� �Ǔ���}3J*��W`�[�ۮ�N�V`#DH%�c���>w'���px������od"�n�*pWL��`�J"Ʌ}O�`Y����7�+{`�.5i̊E�Bc" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.20
string(128) "�C��Fg��ZG���\Z��$�p�����;��ɲ��Ť�|N�Xk��8��y�#��Ez�9���Ƹb��&&�\��Q���^��Iw�!cB��*�� I�.ˣI��y�1��7˩ }~��_G(��" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.19
string(128) "x�_�럳����MA(ؤ�1��$�E��4ʹ~d/WD��`�b�D"���Kj���ˆ{.�xc�R�$�2ʄ�t��4� x_eй�AdJ�,���ӘF\�� ��]�Dߝ)�-��|�(;�̗�M" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.18
string(128) "��3�@LI��W)и�/�uP��c�DqZ�k��Hs6#1ŠjwVA����A^a"�?F�ڬ�i��nOl:K��*��h�U~md⊑�vs��@;�i������I3��l�Qv��u������" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.17
string(128) "5`�����&�`�/��P�)��QD�x~�薇��UG+�8^��M�q��b<L޳Pshis؟P|��D�4I�Ā�b���g�NxM���&�P�(�T��+��hD�̩�t'� �@�'��RdHt����" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.16
string(128) "�]��R���Z���sBIU����Gs$���3�m�/��xv7��b~מI�dB��h����{ �7��N���]�6Һupt������XG�bv�[���:����a(����+�T��T�K��" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.15
string(128) "��ː�k��kVq��h���i��'�pW�+[v��P� u ��Fbn��]�����8�/�+��c�ݭG�zTQd��p�!"��X+bb���[�M)�M�W�� �p� �����y!�!Fj�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.14
string(128) "å��e����������E���f�_��B H���$�b5 C2�M}͵�~�򏣰��^��� 6BRzᒹR|DE\E��$�+��<#����'���%�iFx��ۏx����o�S=��5" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.13
string(128) " �ʉH���o�~�Qz�*�����>۲�a#���lrc��qA��D%��'��GqY�V{�#��Iu��=i?�u��b� ��a�ښʾ#�M�zɴ'����k���~�A��?˔)�i�63�|" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.12
string(128) "k�)N��L������"�e�Z�u��3O�z� ���̭���G��9=n������}���V���^�]��w\���dG3>n~h�n�F��"�nnG��4��̪3�Nd�Wj� o��N�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.11
string(128) "f�d?R��h�A/G�2���� 7����� �nGIs�([��������o��$U�r�O����WQI*�<�N8?e,9e��� ��� �@*����3.鹺�b�iZ8Tr�A� 9�4+j�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.10
string(128) "�� c{�%�P|��b���_��OC߃<:��vbm���+�xE���.��$؄��ѭx�D��j|���U�a<k`{B�� X[�@�l#�_�xʀ~��5�!ՂtJM�1y��0�����+m Au�H�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.9
string(128) "qJ� � Q��4��u=]�ђ��U��F��ם�'��n��š�� Y("R����P�}��G$���;J�x�D� �vn�mqK� D���H���Ҫ�0�YM[`�P�u�g�|�������N�k" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.6.8
string(128) "Q�+*�D��5���Es���b�pX��9$�ΰٻ�kR�Ĝ��]�Xe��.��:|����î¯ b�m�T`#^E_%yh+����5,ˊJX��8�c)8{�e��a�K�W�ԯ�x�,9�p�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.35
string(128) "�D���h�_a;�Jο^�W ����@�n��T��}�.z�S�,r"y>���i�{t>/���{�;e���Jg�Uj\D�>+�9c�y<q�H�y��ӫ��ou�S������������E�lJ�1V�?" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.34
string(128) "M�-��&� *� :�-|!� ����:�ד6��gJ��if*e�����rUe'�h2&`,�j٩D��SL��K��8f��G�E�n�w�bkJ��~^�)fJ��aUS���Qհ�:���?n��*" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.33
string(128) "�L�t�Y~t��RÔ�����9�ċS��c&�f�PP�_��F�) }��&����m��[�N@�*;�Vf=�����P>��1����O�j2LW��y$)�vh��0�gΗ��L)F��Ǜ�M�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.32
string(128) "��[�5�IX��Ip�'�ӷ�r��<y�t�B7p!��z]U�# r�K�����N̟Y?�q����̥�t��F�z]D�ѯ�Md֚��a�,�&���A�Ħ�� ~�H�9%���j@v�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.31
string(128) "�AA��Z��\� �haGxK�(�� ���3O�1ᕐ%D��-���8���>� �l����b�+4��0D�w���܍;� } �*D���\�������R�dp�u��|�o�/���7b���x�z" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.30
string(128) "݉#�"^�nt�v(��D �xu@6t(|^�h�]�mº��!�9 ���p�� o�+�^d��ǰk��h�}hʟ䦹�I�ضo�) b�-0��h'��$��Dk1�f�� 2>n&�G?l#�Wj��%˫�P" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.29
string(128) "񯹦w���7P� ��J�#��ȉ� 4�͢�b7MJl4c0J��[P�u|CD��)T��S�0�>O�x������������� dn���<���'\%���� ny��N%�eTyJ�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.28
string(128) "xq�ȗ3��!���7�m�F��am����j��4�V3��C���li�G�ĸ`\�A"Y�\�h��ի�4�At9v�,����.�K�@�{�,D�S0g�=y;�%��ZK?�o��`�W#�|" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.27
string(128) "Cx �{w�:na!��u)��2�����v�YS��ZB�e���!�:&W�#� � �)�2>$���B� ���rjum��͠ �{�{fe��L+p#a�A؁�ϟ���L��b7AM2��{ �" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.26
string(128) "W�?�ކ�L��u�3̓�H���$T���P�B���Slu=ǭ�#���*��4%�S�ƹ�$dӒ�6�dc���[x$Țkq���J���<���5���o�dp�Z�����^������N��_�=" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.25
string(128) "���4��C�A��� #�b�Y����E�Vk�I�������ib���=<��L�n{�k�$`P�G�4R�!�BA8 } t�K��Bs& |t�l��mu��M�#M�1U-��[>%����" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.5.24
string(128) "���~*��Z0�Sf) ���ջ���ܪ;�l���c��lx������x4���C�S�F��"IB���=�Q�DCp�Oє����� �]P�>�����꫰��"����%����ա" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.45
string(128) "�!�2<�$[���_�K�? <��?���8��L$ ��4�f��W]g���?�����.�� �[<�������>v@`2�${{���=y���y�lҸ�EAn �� �6� ��N��Ɗ'�^��ց�W" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.44
string(128) "� Zٜ�1 �W�Q�X�~�����F��ⲳ���6�I�i�h:9uf�������c_�[�����Y݂2�������G�T[�������9�� ����u��,s=�nʪ�!�:ҿ� ��ޓ&E" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.43
string(128) "(�LvU6/K돕�{��k(��J9�����]��y^�X �ٸ�0M �O@C6�-��G��2���f(�w>��m_)�.�t� D�r�^��eG?�6�?#� �6�ɹ{&�n�� a��u�h�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.42
string(128) "��8�����f,���y-l�%���0'݉�6ٕ�T�Z ( �RS��*���7f��M2� NH�&<��V �;X~��de�Y�F�c���uX��_5�E�Ahń��a�ř-��/�kI�M���N" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.41
string(128) "Q6�������(}���Â�c(�v���׶��~T�_@�`�@�I�+<��I�z��,�=�t�a,��_RB�V��u�� � ��n䔈*0od𖨟r*p�)�/�fv�Z<Y�:1�i=��" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.40
string(128) "ږ�c��i�+<�ky&��^�T1=꟦�����&X�oT��-��z=��:�dkbS(��àӵ`CƠ�!y(�m�S�T�����<��e�de\JR2�F־g*���?�i�N�5#�u"��) �" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.39
string(128) "Am��㣬��+5����*y0���E�ХoB����Ĺ��7�K�����=�1I[��a/� ��&�@{ <�NiĶ���#1jNnzњ 2 S��=xX'�[�SEep�Ծث��U���" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.38
string(128) "ɴ ��ݦA�ҏb_�S_�5<y/�Bug� b������XE��o��wE�rg�B��#�dY�[ѵ��v��^����RC���F|vk02��|H��RAUШҿ�Y�2`~�����IQ�)�H8y" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.37
string(128) "�"V��O�ӀP ��H��"�_A�71ZV��[�p̮�V�䛠U/" 0�� >�M"ֻ �^����o+��-�� ��m�_̂��H@f�r��Y�m(��%F���.���[�%Cut����LD }"�W���" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.36
string(128) "�Pk ���{I���_ ��/"�Q���.*��}��8)�LPc��M�e�4�]�^+� �:dH*a ���Pjҍ�q�V��^�!q:�]^�����8�O�����3�A�c�LaZ� Zy�"��p" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.35
string(128) "qOw�^�q�\{=���|< �� ,�0��+���b��u4�J�o�#��k��l�?���v� +=:�4/�iqB�kgC�)�2${2~J@ ���&�=qc~)[LiX��w����-<�<�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.4.34
string(128) "��4���@�(z��B?��9s�{Lb<Q���uӚ&�@{^c^�m�t��x�Sߌ�x��Oq��s` ��#?H�� TS <�d�=x�l�ήE§�;������{�#��6k����q��>#mAY�" Warning: bin2hex() expects exactly 1 parameter, 2 given in /in/8S9Rl on line 4 NULL
Output for 5.0.0 - 5.4.32
Fatal error: Call to undefined function openssl_random_pseudo_bytes() in /in/8S9Rl on line 3
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/8S9Rl on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: openssl_random_pseudo_bytes() in /in/8S9Rl on line 3
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/8S9Rl on line 3