3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = 'hJHfxu8LHDenWJKgVBPMn2msmOH2eJP+6mXdDXgzYFs='; function decrypt($text) { return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, base64_decode($text), MCRYPT_RAND)); } var_dump(decrypt($text)); ?>
Output for 7.0.0 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/CbWZf:4 Stack trace: #0 /in/CbWZf(6): decrypt('hJHfxu8LHDenWJK...') #1 {main} thrown in /in/CbWZf on line 4
Process exited with code 255.
Output for hhvm-3.11.1 - 3.17.3
Warning: mcrypt_decrypt() expects at least 4 parameters, 3 given in /in/CbWZf on line 4 Warning: trim() expects parameter 1 to be string, null given in /in/CbWZf on line 4 NULL
Output for 5.4.0 - 5.5.34, hhvm-3.10.1
Warning: mcrypt_decrypt() expects at least 4 parameters, 3 given in /in/CbWZf on line 4 string(0) ""
Output for 5.0.0 - 5.3.29, 5.5.35 - 5.6.30
Fatal error: Call to undefined function mcrypt_decrypt() in /in/CbWZf on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mcrypt_decrypt() in /in/CbWZf on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mcrypt_decrypt() in /in/CbWZf on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mcrypt_decrypt() in /in/CbWZf on line 4