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); use PhpOffice\PhpSpreadsheet\Calculation\Information\Exce..

Decoded Output download

<?php

declare(strict_types=1);

use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError;

return [
    [96.0, 3, 5],
    [36.0, 9, '2'],
    [ExcelError::VALUE(), 'ABC', 5],
    [ExcelError::VALUE(), 5, 'ABC'],
    [ExcelError::NAN(), 1, 48], // result too large
    [ExcelError::NAN(), 1.1, 2], // first arg must be integer
    [4.0, 1, 2.1], // second arg will be truncated
    [ExcelError::NAN(), 0, 54], // second arg too large
    [0.0, 0, 5],
    [ExcelError::NAN(), -16, 2], // first arg cant be negative
    [1.0, 4, -2], // negative shift permitted
    [1.0, 4, -2.1], // negative shift and (ignored) fraction permitted
    [4.0, 4, null],
    [4.0, 4, false],
    [8.0, 4, true],
    [0.0, null, 4],
    [4.0, 4, false],
    [8.0, 4, true],
    [0.0, false, 4],
    [16.0, true, 4],
    [8000000000.0, 1000000000, 3], // result > 2**32
    [16000000000.0, 8000000000, 1], // argument > 2**32
    [ExcelError::NAN(), 2 ** 50, 1], // argument >= 2**48
    [1.0, 2 ** 47, -47],
];
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

use PhpOffice\PhpSpreadsheet\Calculation\Information\ExcelError;

return [
    [96.0, 3, 5],
    [36.0, 9, '2'],
    [ExcelError::VALUE(), 'ABC', 5],
    [ExcelError::VALUE(), 5, 'ABC'],
    [ExcelError::NAN(), 1, 48], // result too large
    [ExcelError::NAN(), 1.1, 2], // first arg must be integer
    [4.0, 1, 2.1], // second arg will be truncated
    [ExcelError::NAN(), 0, 54], // second arg too large
    [0.0, 0, 5],
    [ExcelError::NAN(), -16, 2], // first arg cant be negative
    [1.0, 4, -2], // negative shift permitted
    [1.0, 4, -2.1], // negative shift and (ignored) fraction permitted
    [4.0, 4, null],
    [4.0, 4, false],
    [8.0, 4, true],
    [0.0, null, 4],
    [4.0, 4, false],
    [8.0, 4, true],
    [0.0, false, 4],
    [16.0, true, 4],
    [8000000000.0, 1000000000, 3], // result > 2**32
    [16000000000.0, 8000000000, 1], // argument > 2**32
    [ExcelError::NAN(), 2 ** 50, 1], // argument >= 2**48
    [1.0, 2 ** 47, -47],
];

Function Calls

None

Variables

None

Stats

MD5 3b20a2dfcde631cc5842726ecb740532
Eval Count 0
Decode Time 90 ms