Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php declare(strict_types=1); return [ 'no arguments' => [ 'exception', ..

Decoded Output download

<?php

declare(strict_types=1);

return [
    'no arguments' => [
        'exception',
    ],
    '1 argument true' => [
        'exception',
        true,
    ],
    '1 argument false' => [
        'exception',
        false,
    ],
    'value_if_false omitted condtion is true' => [
        'ABC',
        true,
        'ABC',
    ],
    'value_if_false omitted condition is false' => [
        false,
        false,
        'ABC',
    ],
    'value_if_true omitted condition is true' => [0, true, null, 'error'],
    'value_if_true omitted condition is false' => ['error', false, null, 'error'],
    [
        'ABC',
        true,
        'ABC',
        'XYZ',
    ],
    [
        'XYZ',
        false,
        'ABC',
        'XYZ',
    ],
    [
        '#N/A',
        '#N/A',
        'ABC',
        'XYZ',
    ],
];
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

return [
    'no arguments' => [
        'exception',
    ],
    '1 argument true' => [
        'exception',
        true,
    ],
    '1 argument false' => [
        'exception',
        false,
    ],
    'value_if_false omitted condtion is true' => [
        'ABC',
        true,
        'ABC',
    ],
    'value_if_false omitted condition is false' => [
        false,
        false,
        'ABC',
    ],
    'value_if_true omitted condition is true' => [0, true, null, 'error'],
    'value_if_true omitted condition is false' => ['error', false, null, 'error'],
    [
        'ABC',
        true,
        'ABC',
        'XYZ',
    ],
    [
        'XYZ',
        false,
        'ABC',
        'XYZ',
    ],
    [
        '#N/A',
        '#N/A',
        'ABC',
        'XYZ',
    ],
];

Function Calls

None

Variables

None

Stats

MD5 c5ec75b6775589d7d24227ae8aad00b0
Eval Count 0
Decode Time 101 ms