3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "5c7Zms7hW3y4e4gOCOjzfg==" $password = "glop"; $method = "aes-192-cfb8"; $decrypted = openssl_decrypt($encrypted, $method, $password); echo "$decrypted"; // Outputs: OeOiTWcgIPC1xIZaDJ3XTEaY/D4m1sQmxgPbzjxxlRA= => This is a readable string. ?>
Output for 5.6.0 - 5.6.28, 7.0.0 - 7.0.13
Parse error: syntax error, unexpected '$password' (T_VARIABLE) in /in/8basv on line 3
Process exited with code 255.

preferences:
181.41 ms | 1395 KiB | 50 Q