3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $key = "sfjdo89ejasfj3oh9w3jipmowf984lkfq32jljlk3famkladf"; $string = "pd[land]=at&pd[plz]=9020&pd[geburtsjahr]=1980&pdIdent[skilineId]=123456789&pdFree[skiGebiet]=Nassfeld"; $md5Key = md5($key); $encrypted = base64_encode(mcrypt_encrypt(MCRYPT_3DES, $md5Key), $string, MCRYPT_MODE_CBC, md5($md5Key)); echo $encrypted; $decrypted = rtrim(mcrypt_decrypt(MCRYPT_3DES, $md5Key, base64_decode($encrypted), MCRYPT_MODE_CBC, md5($md5Key)), "\0"); echo $decrypted;
Output for 7.0.0 - 7.3.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_encrypt() in /in/PdvSo:7 Stack trace: #0 {main} thrown in /in/PdvSo on line 7
Process exited with code 255.
Output for 5.0.0 - 5.6.38
Fatal error: Call to undefined function mcrypt_encrypt() in /in/PdvSo on line 7
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mcrypt_encrypt() in /in/PdvSo on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mcrypt_encrypt() in /in/PdvSo on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mcrypt_encrypt() in /in/PdvSo on line 7