3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = 'asdfasdfsadfsdafasdfsadfasdfasdf'; $iv = md5($key); $msg = "my message"; $encrypted = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $msg, MCRYPT_MODE_CBC, $iv);
based on UkZJr
Output for 7.0.6 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/dam67:6 Stack trace: #0 {main} thrown in /in/dam67 on line 6
Process exited with code 255.
Output for 5.5.0 - 5.5.34, 5.6.0 - 5.6.20, 7.0.0 - 7.0.5
Output for 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_encrypt() in /in/dam67 on line 6
Process exited with code 255.