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 [ 'global $e$2-$e$6' => [1, 'namedrangex'], ..

Decoded Output download

<?php

declare(strict_types=1);

return [
    'global $e$2-$e$6' => [1, 'namedrangex'],
    'global $f$2:$h$2' => [3, 'namedrangey'],
    'global $f$4:$h$4' => [3, 'namedrange3'],
    'local in scope $f$5:$i$5' => [4, 'namedrange5'],
    'local out of scope' => ['#NAME?', 'localname'],
    'non-existent sheet' => [10, 'UnknownSheet!B2:K6'],
    'not enough arguments' => ['exception', 'omitted'],
    'other existing sheet' => [6, 'OtherSheet!B1:G1'],
    'qualified in scope $f$5:$i$5' => [4, 'ThisSheet!namedrange5'],
    'single cell absolute' => [1, '$C$15'],
    'single cell relative' => [1, 'C7'],
    'unknown name' => ['#NAME?', 'namedrange2'],
    'unknown name as first part of range' => ['#NAME?', 'Invalid:A2'],
    'unknown name as second part of range' => ['#NAME?', 'A2:Invalid'],
    //'qualified out of scope $f$6:$h$6' => [3, 'OtherSheet!localname'], // needs investigation
];
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

return [
    'global $e$2-$e$6' => [1, 'namedrangex'],
    'global $f$2:$h$2' => [3, 'namedrangey'],
    'global $f$4:$h$4' => [3, 'namedrange3'],
    'local in scope $f$5:$i$5' => [4, 'namedrange5'],
    'local out of scope' => ['#NAME?', 'localname'],
    'non-existent sheet' => [10, 'UnknownSheet!B2:K6'],
    'not enough arguments' => ['exception', 'omitted'],
    'other existing sheet' => [6, 'OtherSheet!B1:G1'],
    'qualified in scope $f$5:$i$5' => [4, 'ThisSheet!namedrange5'],
    'single cell absolute' => [1, '$C$15'],
    'single cell relative' => [1, 'C7'],
    'unknown name' => ['#NAME?', 'namedrange2'],
    'unknown name as first part of range' => ['#NAME?', 'Invalid:A2'],
    'unknown name as second part of range' => ['#NAME?', 'A2:Invalid'],
    //'qualified out of scope $f$6:$h$6' => [3, 'OtherSheet!localname'], // needs investigation
];

Function Calls

None

Variables

None

Stats

MD5 17eb6760c1ce25b7e88e88c79c882641
Eval Count 0
Decode Time 91 ms