3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $password = "password"; $iterations = 1000; // Generate a random IV using mcrypt_create_iv(), // openssl_random_pseudo_bytes() or another suitable source of randomness $salt = mcrypt_create_iv(16, MCRYPT_DEV_URANDOM); echo $salt; $hash = hash_pbkdf2("sha256", $password, $salt, $iterations, 20); echo $hash;
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_create_iv() in /in/HYKMg:7 Stack trace: #0 {main} thrown in /in/HYKMg on line 7
Process exited with code 255.
Output for 7.0.5
�ϸL���ܕ���0b3122a703c8a41b3d04
Output for 7.0.4
�̐G�]����J�<�ecbb7b311effa42539b3
Output for 7.0.3
X[�� ����}&O1��b9b57fcccd99db9dc3ae
Output for 7.0.2
\O7��iZ$�E$��gX3bdb49b86e1757a7630b
Output for 7.0.1
��^���+�Q9�a34fe0b3e59782ce2058
Output for 7.0.0
���f@�څ ���{8cd5d1719d5e2e0e9aba
Output for 5.3.18 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_create_iv() in /in/HYKMg on line 7
Process exited with code 255.
Output for 5.6.20
u.� ��Oڃ�0/)b3a0197b4cd907d86da3c
Output for 5.6.19
{t:L[]�"��g-�R9�59b8476e75ff0191d0c6
Output for 5.6.18
��'���X��l��5�0ba42850fc4ad624288f
Output for 5.6.17
1)T-���Yp��E�^d5cb16edcb19f9c088ce
Output for 5.6.16
�$�=� U�x�W "޷*aa86348344dd06f057f6
Output for 5.6.15
v8�(<�E��rԇ�0bee36cb6439a57e8d8e
Output for 5.6.14
���������_F�J�79753f5e06a9c997c8c9
Output for 5.6.13
��v�f*�R��@V.�bf3f80cc031d2a83ad6c
Output for 5.6.12
Aڈ�ip@2cxrX��7f4cb81a8835fe6ba29e
Output for 5.6.11
K�9��'ec���ˈq�+8fd7c2a34a5405cd091e
Output for 5.6.10
��u��dMu���%�#��4f38d0f8920a37ffda7f
Output for 5.6.9
�:�i@H7F`;�u֎0e96d36cb5faa5577f76
Output for 5.6.8
��+i��s�4�T��108921eb7a20e09ea563
Output for 5.5.34
g0yiW:Q� 2{"���322221c6fbaccf7f2cc7
Output for 5.5.33
�� >wzz7� >{""82e18b03a9222e540601
Output for 5.5.32
fp�����6�9N DZY609a0524385ccd62ad89
Output for 5.5.31
�|haXر�\i�|�f95a5f86b1fa1c9f7e3b
Output for 5.5.30
�TI�zu�x�� �L6c9583aa12065f1f353f3
Output for 5.5.29
&b�>�8�K���G�a17d655cb15000d50c5b
Output for 5.5.28
f� e�S�f�륀�yb739d451d57253f1fcdb
Output for 5.5.27
7�3a�lB�x�wSa�3c3724c5e805792ab9ff
Output for 5.5.26
l��:�����v���418ad8a27bc82040083b
Output for 5.5.25
���.�jt6ƒM�467ff357bcc0570bd804e
Output for 5.5.24
� <#b؇ ��;M�\M69bb524b7e01aced37fbb
Output for 5.4.45
&���S�Z�^��oM Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.44
��ScŹ3Q2>�v�G Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.43
'��D�3Cz6ɒ�� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.42
��8�Q���j35�r� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.41
TI����1�L_��0 Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.40
���8�e�!����@�. Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.39
66��<(,ΉQ��y Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.38
�W�Q�����)� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.37
��VUE���Y�B Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.36
��I��q<Z����"� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.35
< ��~g�.��٨v� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.34
��i�,���+elђ Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.32
�1�g�����q� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.31
���^�s(�B� ��9� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.30
]��~��N��� i� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.29
{�ۛ��2,���\��g Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.28
���=�n���zi�s��z Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.27
��D�)�q��� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.26
�^b2nh��ϘfN Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.25
M]M� ��OyKz�΅ Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.24
��k+�Y7%�E�t Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.23
�^G���6$���]ˬ Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.22
諜^����Yd���6�R Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.21
CD�/� �>`3��p�� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.20
Jh[����\�AB%z09 Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.19
����-����-��� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.18
x�D�>��5����"א� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.17
��y�����7��� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.16
�����C��Mea�g Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.15
�2t�R�_�S�%��O� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.14
�1ɏ��z����"�� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.13
<Kv���g{�6�/ Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.12
�8u$�n��2F�4� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.11
l��?�~���K� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.10
�I�nza��9�Y Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.9
amul��9۾V�i��eI Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.8
�O��9f�P�6 � Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.7
Tq�w�Ӈ���7L�� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.6
�~���c��m�)��o� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.5
w�6h��S����> Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.4
����A{E�y] Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.3
�M�o�[����f,�� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.
Output for 5.4.2
$;��s΃u�Ʊ��� Fatal error: Call to undefined function hash_pbkdf2() in /in/HYKMg on line 11
Process exited with code 255.