3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = "12345678abcdefgh12345678abcdefgh"; $iv = "12345678abcdefgh"; $plaindata = "c=klient,pobocka&i=obrazek.jpg&w=800&wm=tr,300"; $enc = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $plaindata, MCRYPT_MODE_ECB)); echo($enc);
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/W6Pkh:7 Stack trace: #0 {main} thrown in /in/W6Pkh on line 7
Process exited with code 255.
Output for 5.4.1 - 5.5.34, 5.6.8 - 5.6.20, 7.0.0 - 7.0.5
Y6IZeVXKuEMbDXuB3vwgCHftiagqtWHfZihF3WbN4XJQ7uImgaXKcMGX+635YmvM
Output for 5.3.18 - 5.3.29, 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_encrypt() in /in/W6Pkh on line 7
Process exited with code 255.