3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on hVVqR
Output for 7.0.6 - 7.2.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.3.20 - 5.3.29, 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"
Output for 5.4.10 - 5.4.45
string(88) "�N�rZ�)�8JY`j�2/4Uј(��2���8�� ��"����]�0so��?��]}�c��׏�/��Y����뾾U�� �0"