3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = 'something'; $data = 'password'; $password = mcrypt_encrypt(MCRYPT_RIJNDAEL_128, $data); echo $password;
based on 5JeOI
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/ArSA6:5 Stack trace: #0 {main} thrown in /in/ArSA6 on line 5
Process exited with code 255.
Output for 5.5.35 - 5.6.28
Fatal error: Call to undefined function mcrypt_encrypt() in /in/ArSA6 on line 5
Process exited with code 255.
Output for 5.4.0 - 5.5.34
Warning: mcrypt_encrypt() expects at least 4 parameters, 2 given in /in/ArSA6 on line 5