3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dmcryptText = "g8GiNK2+2WFwYn1FO5TVUNk16bJXI0F0VtcYLgUY5zTUak7qHvn68CWOLvhhvSwp1Th4gGda9qtDpTUoAduf/KscDfI1kZtNavX5U8zH2Su5FL1qOfh30w=="; $dmcryptText=str_replace(' ','+',base64_decode($dmcryptText)); $key = "92EMXB0LYVHH6MG4JW7245D6"; $size = mcrypt_get_iv_size(MCRYPT_BLOWFISH,MCRYPT_MODE_ECB); $iv = mcrypt_create_iv($size, MCRYPT_DEV_URANDOM); //注意这里 $m = mcrypt_ecb(MCRYPT_BLOWFISH, $key, $dmcryptText, MCRYPT_DECRYPT, $iv); var_dump($m);
Output for 7.0.6 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 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.4, 8.3.6
Fatal error: Uncaught Error: Call to undefined function mcrypt_get_iv_size() in /in/Z2t2l:5 Stack trace: #0 {main} thrown in /in/Z2t2l on line 5
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 mcrypt_get_iv_size() in /in/Z2t2l:5 Stack trace: #0 {main} thrown in /in/Z2t2l on line 5
Process exited with code 255.
Output for 7.0.0 - 7.0.5
Fatal error: Uncaught Error: Call to undefined function mcrypt_ecb() in /in/Z2t2l:9 Stack trace: #0 {main} thrown in /in/Z2t2l on line 9
Process exited with code 255.
Output for 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_get_iv_size() in /in/Z2t2l on line 5
Process exited with code 255.
Output for 5.5.24 - 5.5.34, 5.6.8 - 5.6.20
Deprecated: Function mcrypt_ecb() is deprecated in /in/Z2t2l on line 9 string(88) "�N�rZ�)�8JY`j�2/4Uј(��2���8�� ��"����]�0so��?��]}�c��׏�/��Y����뾾U�� �0"

preferences:
154.83 ms | 406 KiB | 184 Q