3v4l.org

run code in 300+ PHP versions simultaneously
<?php $methods = openssl_get_cipher_methods(); $res = "FdsfDFwfdfs23C4DSF32Fs0ozkbHI8mDIUxjEqT/oJCm32Ly2Rjs5vzU/Sg9do0X1tE7CC0pQZg9MiSHrZVdXlMuy6VclOhPdLU5pHRKaTu/="; $clefSecrete = "glop"; for($i=0;$i<97;$i++){ $bla = openssl_decrypt($res, $methods[$i], $clefSecrete); print "method ".$i.": ".base64_decode($bla)."\n"; } ?>
Output for 7.1.20 - 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.19, 8.3.0 - 8.3.4, 8.3.6 - 8.3.7
Fatal error: Uncaught Error: Call to undefined function openssl_get_cipher_methods() in /in/OU1J6:2 Stack trace: #0 {main} thrown in /in/OU1J6 on line 2
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Fatal error: Uncaught Error: Call to undefined function openssl_get_cipher_methods() in /in/OU1J6:2 Stack trace: #0 {main} thrown in /in/OU1J6 on line 2
Process exited with code 255.
Output for 7.1.5 - 7.1.16
method 0: method 1: method 2: method 3: ��ˬ��.t�A��oi method 4: �b^l�� �� method 5: ���ȠP2�(�O method 6: ��:��)�+���ݎ� method 7: method 8: method 9: �� |R1��\�+�[�^ method 10: �7��#���9 method 11: method 12: Ca=�v$��@�3R� method 13: ��n7��2K/Q�fh method 14: ��Q�� ���z!�=7 method 15: Ca=�x�I ��<�E[݈ method 16: method 17: method 18: Ca=�u�}��~�/�� method 19: method 20: method 21: method 22: ���<ޫ����*5�� method 23: Y>[�u�;�Xĭ�@� method 24: Ϊ~晵7e�a method 25: ��n����(���1� method 26: method 27: method 28: ����O�r��R method 29: �eGVl<xR�:�ǻ method 30: method 31: 5���.=���:�[���t method 32: method 33: 5�� r�+��^: method 34: method 35: d;��矏;�� method 36: �ā���N��� method 37: n�Bbr.K8��'� method 38: e��M��!� method 39: method 40: eP27��}� method 41: method 42: ��s�>�Q�:. `��˄ method 43: }����6������N�� method 44: w�>a�v�1>n� method 45: ��r���P method 46: method 47: ��s�M�묪���i���� method 48: method 49: 8�J�^pڷ���� method 50: �]��oH0÷~����U� method 51: 0�\�P�2X� �����,� method 52: 8��o0I���� method 53: method 54: 8���M�m��� method 55: method 56: L ��R�3��O�n�@7 method 57: method 58: ��2���-^�75O�!*�F method 59: n7H�ҝ��t�_ method 60: � ,J?=��-�� method 61: method 62: o E��fČj�e2 � method 63: )�2|+Sg� method 64: "R�#��T� method 65: method 66: method 67: method 68: g2#�b��5���� method 69: ��R~�uqk��T,8 method 70: method 71: method 72: o E��fČj�e2 � method 73: )�2|+Sg� method 74: "R�#��T� method 75: o N�D�e���B6 method 76: o N�D�e���B6 method 77: method 78: method 79: Ml �_N�#��4q �� method 80: method 81: N�d�x��i �d method 82: method 83: method 84: method 85: �k2�FL��Bʩ� Ւ method 86: method 87: �=6KKɻ���v�a method 88: �Tz�ۅZK,�t� method 89: �,��n��ҊD method 90: �Tz�ۅZK,�t� method 91: method 92: ��Q�;����܅��� method 93: method 94: ��Q��k3��)��0��( method 95: method 96:
Output for 7.1.0 - 7.1.4
method 0:
Process exited with code 139.

preferences:
137.32 ms | 401 KiB | 173 Q