How encode a script

558fe5180e0e8fc922d31c23ef84d240

Hello anyone know how encode a script like this? <?php
$_obfuscatedFF66756E6374696F6E = function ($f, $d) {
$lines = @file($f);
$c = @count($lines) - 2;
$lines[$c] = @strtok($lines[$c], "\");
$head = (int) @base64_decode(@strtok(@end($lines), "\")) - 161803;
$code = @join("", @array_slice($lines, $head, -1));
$code = @openssl_decrypt($code, "AES-128-CBC", "ioncube is so easy to decode these days...", false, "1!2@3#4$5%6^7&8*");
$idx = @base64decode(@strtok("\"));
if (!defined("__FILE" . $idx . "")) {
define("FILE" . $idx . "", $f);
define("DIR" . $idx . "",
retur
retur

?>