I just downloaded a php script, one of the file in the script is encoded and I want to ensure it doesn't have anything malicious! Any help would be much appreciated! Code is publically hosted here at https://gist.github.com/anonymous/b4c5f0244891241cfc2d1b120e0e58a8 The reason why I want to decode is to check what's being run and then edit if necessary.
What does it do? If you can't trust the author why not find an alternative script or just write it yourself?
That's garbage. To obfuscate your code you should use http://www.ioncube.com and http://www.phplicengine.com if you want to license it online with ionCube or remotely.
What does it do? Is it special enough to motivate you to write it? The code you posted isn't very long, can't be that much involved.