IonCube Decoder for PHP 8.1
Online

Decode recognized IonCube files targeting PHP 8.1. Eligible files get a free preview; protection-dependent cases return guidance.

ionCube 10–15 · PHP 5.x, 7.1–7.4 & 8.1–8.4 · Free preview available

terminal
functions.php
Encrypted
1<?php //ICB0 74:0 81:51714 82:a6b9e ?>2<?php //003353if(extension_loaded('ionCube Loader')){4  die('The file '.__FILE__." is corrupted.");5}echo("Script error: the ionCube Loader for6PHP needs to be installed. The ionCube Loader7is the industry standard PHP extension for8running protected PHP code, and can usually9be added easily to a PHP installation.10For Loaders please visit ioncube.com");11exit(199);12?>13HR+cPvXRFmq8V8KYrIAfBlzaKcilXyFs2r2RC9Y145H9SXxbv8z4Lq0MxIV3wSHaW2odtYN/0K4Vsvwk15a1kzeOgsPqnNbhOX/LQgSYhjrw/EiwtFawI9vdP16H6sVa75iFaAcfDaauMfUyBMOoWe0IRKr6olKseh
functions_decoded.php
Decoded
1<?php23function invoice_settings($v1 = null) {4    if ($v1 === null) {5        return get_option("acme_invoice");6    }7    return get_option("acme_invoice")[$v1];8}910function invoice_log($v1 = null, $v2 = "info") {11    $v3 = new Acme_Invoice_Log();12    $v3->write($v2, $v1);13    return $v3;14}1516function invoice_load_textdomain() {17    load_plugin_textdomain("acme-invoices", __DIR__);18    return;19}
Ready

Free Preview

Upload a supported IonCube PHP file. A 20-line preview is shown when decoding completes without an unresolved license, companion-file, or callback-key requirement.

Drag & drop your PHP file

or browse files

.php files encrypted with IonCube

Start with your PHP file. If another file is needed, we'll show you what's missing. Maximum 10MB.

Only upload files you own, are authorized to analyze, or are lawfully permitted to recover, migrate, audit, or interoperate with. Do not upload third-party proprietary software without permission. This ordinary public preview does not use AI-assisted callback recovery; charged, trusted-account, and approved trusted-partner recovery may send supplied context and relevant decoded fragments to our configured third-party model provider. See Terms.

Decode IonCube PHP 8.1 files online

PHP 8.1 was a landmark release: enums, readonly properties, first-class callable syntax, and pure intersection types. IonCube's 8.1-targeted encoders shipped with opcodes for all of these — our decoder maps them back to readable PHP 8.1 source.

Upload a recognized IonCube PHP 8.1 file. Eligible files get a free preview; protection-dependent cases return guidance about any required artifact or callback context.

IonCube 10–15

Support for recognized IonCube 10 through 15 builds across the listed PHP targets.

Supported PHP targets

Supported targets: PHP 5.0–5.6, 7.1–7.4, and 8.1–8.4. PHP 7.0 and 8.0 ionCube targets are not accepted.

Readable output

Recovered PHP is formatted for review where structure can be reconstructed; lint and test it before use.

Fast decoding

Routine files usually finish quickly. Uploads are limited to 10 MB; callback-key recovery can take several minutes.

100% online

Nothing to install locally. Uploads are processed server-side in isolated microVMs.

Account download

Download a viewable account result after processing completes.

How it works

Three steps to decoded source

  1. 01

    Upload your file

    Drag and drop your IonCube encrypted PHP file or click to browse.

  2. 02

    Preview the output

    Eligible files show the first 20 decoded lines when processing completes.

  3. 03

    Run the full decode

    Purchase credits, process the file, and download a viewable result.

PHP 8.1 at a glance

Released
November 2021
End of life
November 2024
Zend engine
Zend Engine 4 (major rewrite for PHP 8)
IonCube encoders that target it
IonCube 13 was the first release with full PHP 8.1 support. IonCube 14 and 15 target 8.1 as well.

What PHP 8.1 introduced

Decoders for PHP 8.1 need to reconstruct opcodes for these language features specifically:

  • Enums (enum Suit { case Hearts; })
  • Readonly properties
  • First-class callable syntax (strlen(...))
  • Pure intersection types (Countable&Stringable)
  • Never return type
  • new in initializers (public function __construct(private Logger $log = new NullLogger()))
  • Fibers (low-level coroutines)

Why PHP 8.1 decoding still matters

  • PHP 8.1 was the first stable PHP 8.x release widely adopted by hosts — many apps transitioned here first.
  • Enterprise migrations away from PHP 7.x typically landed on 8.1 (LTS target) before jumping further.
  • Libraries that adopted enums early ship encoded against 8.1 specifically.

Gotchas specific to decoding PHP 8.1

  • Enum opcodes are entirely new in 8.1 — you cannot decode enum-using files with a pre-8.1 decoder.
  • Readonly properties add a new ZEND_ACC_READONLY flag; some early IonCube 13 builds had bugs emitting this correctly.
  • First-class callable syntax compiles to Closure::fromCallable under the hood; decoded output should preserve the (...) sugar where possible.

File signature

An IonCube-encoded file targeting PHP 8.1 typically begins with a header that looks like this:

<?php //004fb4a5\n<?php //PHP81+\nHR+cPkX...

The first line encodes a header hash, the second encodes the PHP target, and the remainder is the encrypted bytecode payload. Our free in-browser version detector reads these bytes to identify the exact encoder and PHP target for your file.

Credit packs

Buy once and decode anytime. Web and API access are included.

Starter

$19

3 credits · $6.33/file

Entry pack for a few one-off files.

  • 3 file credits
  • Web + API access
  • Credits do not expire
  • IonCube 10–15 · PHP 5.0–5.6, 7.1–7.4 & 8.1–8.4
  • Viewable results only
Most Popular

Pro

$59

30 credits · $1.97/file

Best default pack for developers.

  • 30 file credits
  • Web + API access
  • Credits do not expire
  • IonCube 10–15 · PHP 5.0–5.6, 7.1–7.4 & 8.1–8.4
  • Viewable results only

Enterprise

$199

150 credits · $1.33/file

High-volume pack for teams and agencies.

  • 150 file credits
  • Web + API access
  • Credits do not expire
  • IonCube 10–15 · PHP 5.0–5.6, 7.1–7.4 & 8.1–8.4
  • Viewable results only

Custom

Contact us

150+ credits · custom volume

Larger volume, special handling, or custom terms.

  • 150+ file credits
  • Web + API access
  • Custom volume pricing
  • Priority handling options
  • Email support

Secure crypto payments · Bitcoin, Ethereum, Litecoin, Monero, USDT

Frequently asked questions

Does your decoder support IonCube with PHP 8.1?
DecodePHP accepts recognized IonCube builds targeting PHP 8.1. A matching license, companion file, or callback context may still be required.
What PHP 8.1 features does the decoder preserve?
Enums, readonly properties, first-class callable syntax, intersection types, never return type, and new in initializers. All are lifted back to their PHP 8.1 source form.
Can I decode IonCube 12 files for PHP 8.1?
IonCube 12 predates normal PHP 8.1 targeting. DecodePHP attempts recognized files whose detected encoder build and PHP target are compatible; it does not promise every cross-version pair.
Is there a free preview for PHP 8.1 files?
Eligible PHP 8.1 files get a free 20-line preview when decoding completes without an unresolved protection requirement.
Will the decoded PHP 8.1 output run without changes?
Lint and test the recovered source on PHP 8.1 before using it; decompiled output can require manual fixes.
My files were encoded in PHP 8.1 but my server is 8.3 — what should I do?
Decode against the original 8.1 target, then test the recovered source on the destination runtime. PHP 8.x minor versions can still introduce deprecations and behavior changes.

Ready to decode?

Upload a supported file and check whether it qualifies for a preview.

Contact us on Signal