3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = ""; $login = " "; $plain = "login=".$login; $res = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $key, $plain, "ecb"); $res = base64_encode($res); print $res;
based on 5hpAH
Output for 7.0.0 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/gj6m2:5 Stack trace: #0 {main} thrown in /in/gj6m2 on line 5
Process exited with code 255.
Output for hhvm-3.18.5 - 3.22.0
4ZMkPqqgZtcNWINEGYw5hQ==
Output for 5.6.0 - 5.6.30
Fatal error: Call to undefined function mcrypt_encrypt() in /in/gj6m2 on line 5
Process exited with code 255.