$s = base64_encode(file_get_contents('./文件'));file_put_contents('./out' , preg_replace('/(.{76})/', "$1\n", $s));