3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($text) { return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, str_pad("$2015", 16), base64_decode($text), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND))); } echo decrypt("5vHSulePXiz+YIAj68M+30bHvY5Bcqc3PKesRNhxfds= ");

preferences:
44.98 ms | 402 KiB | 5 Q