3v4l.org

run code in 150+ 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))); $decrypted = rtrim(mcrypt_decrypt(MCRYPT_3DES, $md5Key), base64_decode($encrypted), MCRYPT_MODE_CBC, md5($md5Key)), "\0");
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ')' in /in/RlcDq on line 7
Process exited with code 255.