3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $enc_value = mcrypt_encrypt(MCRYPT_ARCFOUR,'secretkey','payload',MCRYPT_MODE_STREAM); var_dump($enc_value);
Output for 7.0.6 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/af8oG:4 Stack trace: #0 {main} thrown in /in/af8oG on line 4
Process exited with code 255.
Output for 5.6.15 - 5.6.20, 7.0.0 - 7.0.5
string(7) "�ɥp#��"
Output for 5.0.0 - 5.3.29, 5.5.35 - 5.5.36, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_encrypt() in /in/af8oG on line 4
Process exited with code 255.
Output for 5.6.0 - 5.6.14
Warning: mcrypt_encrypt(): Encryption mode requires an initialization vector of size 0 in /in/af8oG on line 4 bool(false)
Output for 5.4.0 - 5.5.34
Warning: mcrypt_encrypt(): Attempt to use an empty IV, which is NOT recommend in /in/af8oG on line 4 string(7) "�ɥp#��"
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mcrypt_encrypt() in /in/af8oG on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mcrypt_encrypt() in /in/af8oG on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mcrypt_encrypt() in /in/af8oG on line 4