3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = 'hello'; $key = '11112222333344445555666677778888'; echo(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $data, MCRYPT_MODE_ECB, 32))) ?>
based on peQFq
Output for 7.0.6 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/I06UR:4 Stack trace: #0 {main} thrown in /in/I06UR on line 4
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
1rTuwn7U2Et8+0BNfqS9tbJAl0QN+KNiKdYZ30teAWw=
Output for 5.5.35, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_encrypt() in /in/I06UR on line 4
Process exited with code 255.