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 [ [ '', null, 1, ]..

Decoded Output download

<?php

declare(strict_types=1);

return [
    [
        '',
        null,
        1,
    ],
    [
        '',
        '',
        1,
    ],
    [
        '',
        'ABC',
        0,
    ],
    [
        '#VALUE!',
        'QWERTYUIOP',
        -1,
    ],
    [
        '#VALUE!',
        'QWERTYUIOP',
        'NaN',
    ],
    'null length defaults to 0' => [
        '',
        'QWERTYUIOP',
        null,
    ],
    'omitted length defaults to 1' => [
        'Q',
        'QWERTYUIOP',
    ],
    [
        'ABC',
        'ABCDEFGHI',
        3,
    ],
    [
        '',
        '    ',
        3,
    ],
    [
        ' ',
        '    ',
        7,
    ],
    [
        '  ',
        '    ',
        12,
    ],
    [
        'TR',
        true,
        2,
    ],
    [
        'FA',
        false,
        2,
    ],
    'string not specified' => [
        'exception',
    ],
];
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

return [
    [
        '',
        null,
        1,
    ],
    [
        '',
        '',
        1,
    ],
    [
        '',
        'ABC',
        0,
    ],
    [
        '#VALUE!',
        'QWERTYUIOP',
        -1,
    ],
    [
        '#VALUE!',
        'QWERTYUIOP',
        'NaN',
    ],
    'null length defaults to 0' => [
        '',
        'QWERTYUIOP',
        null,
    ],
    'omitted length defaults to 1' => [
        'Q',
        'QWERTYUIOP',
    ],
    [
        'ABC',
        'ABCDEFGHI',
        3,
    ],
    [
        '',
        '    ',
        3,
    ],
    [
        ' ',
        '    ',
        7,
    ],
    [
        '  ',
        '    ',
        12,
    ],
    [
        'TR',
        true,
        2,
    ],
    [
        'FA',
        false,
        2,
    ],
    'string not specified' => [
        'exception',
    ],
];

Function Calls

None

Variables

None

Stats

MD5 dfa5b3ddb81c189353488ed5991d07f1
Eval Count 0
Decode Time 88 ms