base64 encoding is often used to protect PHP code. There is an online tool that allows you to encode and decode the code. Here is the link: Base64 Encoding/Decoding Tool by Thomas Horsten.
It really works with the code you have. It’s a common kind of PHP protection and this tool reveals the opinion that base64 [...]