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); // cost, salvage, life, period, month, result return [ ..

Decoded Output download

<?php

declare(strict_types=1);

// cost, salvage, life, period, month, result

return [
    [
        0.13150684931507001,
        2400,
        300,
        36500,
        1,
    ],
    [
        0.13149964346031001,
        2400,
        300,
        36500,
        2,
    ],
    [
        0.13146362010870999,
        2400,
        300,
        36500,
        7,
    ],
    [
        0.91843145432707995,
        2400,
        300,
        36500,
        7,
        14,
    ],
    [
        40.0,
        2400,
        300,
        120,
        1,
        2,
    ],
    [
        480.0,
        2400,
        300,
        10,
        1,
        2,
    ],
    [
        306.0,
        2400,
        300,
        10,
        2,
        1.5,
    ],
    [
        22.122547200000302,
        2400,
        300,
        10,
        10,
    ],
    [
        4000.0,
        10000,
        1000,
        5,
        1,
    ],
    [
        2400.0,
        10000,
        1000,
        5,
        2,
    ],
    [
        1440.0,
        10000,
        1000,
        5,
        3,
    ],
    [
        864.0,
        10000,
        1000,
        5,
        4,
    ],
    [
        296.0,
        10000,
        1000,
        5,
        5,
    ],
    [
        972.0,
        12000,
        1000,
        5,
        3,
        0.5,
    ],
    [
        1259.4752186588921,
        12000,
        1000,
        3.5,
        3,
        0.5,
    ],
    [
        1080.00,
        12000,
        1000,
        5,
        2,
        0.5,
    ],
    [
        0.0,
        12000,
        15000,
        5,
        2,
        0.5,
    ],
    //  Code does not yet handle fractional period values for DDB, only integer
    //    [
    //        1024.58,
    //        12000,
    //        1000,
    //        5,
    //        2.5,
    //        0.5,
    //    ],
    [
        '#NUM!',
        -2400,
        300,
        36500,
        1,
    ],
    [
        '#VALUE!',
        'ABC',
        300,
        36500,
        1,
    ],
    [
        '#VALUE!',
        12000,
        'INVALID',
        5,
        3,
        0.5,
    ],
    [
        '#VALUE!',
        12000,
        1000,
        'INVALID',
        3,
        0.5,
    ],
    [
        '#VALUE!',
        12000,
        1000,
        5,
        'INVALID',
        0.5,
    ],
    [
        '#VALUE!',
        12000,
        1000,
        5,
        3,
        'INVALID',
    ],
    [
        '#NUM!',
        12000,
        -1000,
        5,
        3,
        0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        5,
        -3,
        0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        5,
        3,
        -0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        5,
        0,
        0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        2,
        3,
        0.5,
    ],
];
 ?>

Did this file decode correctly?

Original Code

<?php

declare(strict_types=1);

// cost, salvage, life, period, month, result

return [
    [
        0.13150684931507001,
        2400,
        300,
        36500,
        1,
    ],
    [
        0.13149964346031001,
        2400,
        300,
        36500,
        2,
    ],
    [
        0.13146362010870999,
        2400,
        300,
        36500,
        7,
    ],
    [
        0.91843145432707995,
        2400,
        300,
        36500,
        7,
        14,
    ],
    [
        40.0,
        2400,
        300,
        120,
        1,
        2,
    ],
    [
        480.0,
        2400,
        300,
        10,
        1,
        2,
    ],
    [
        306.0,
        2400,
        300,
        10,
        2,
        1.5,
    ],
    [
        22.122547200000302,
        2400,
        300,
        10,
        10,
    ],
    [
        4000.0,
        10000,
        1000,
        5,
        1,
    ],
    [
        2400.0,
        10000,
        1000,
        5,
        2,
    ],
    [
        1440.0,
        10000,
        1000,
        5,
        3,
    ],
    [
        864.0,
        10000,
        1000,
        5,
        4,
    ],
    [
        296.0,
        10000,
        1000,
        5,
        5,
    ],
    [
        972.0,
        12000,
        1000,
        5,
        3,
        0.5,
    ],
    [
        1259.4752186588921,
        12000,
        1000,
        3.5,
        3,
        0.5,
    ],
    [
        1080.00,
        12000,
        1000,
        5,
        2,
        0.5,
    ],
    [
        0.0,
        12000,
        15000,
        5,
        2,
        0.5,
    ],
    //  Code does not yet handle fractional period values for DDB, only integer
    //    [
    //        1024.58,
    //        12000,
    //        1000,
    //        5,
    //        2.5,
    //        0.5,
    //    ],
    [
        '#NUM!',
        -2400,
        300,
        36500,
        1,
    ],
    [
        '#VALUE!',
        'ABC',
        300,
        36500,
        1,
    ],
    [
        '#VALUE!',
        12000,
        'INVALID',
        5,
        3,
        0.5,
    ],
    [
        '#VALUE!',
        12000,
        1000,
        'INVALID',
        3,
        0.5,
    ],
    [
        '#VALUE!',
        12000,
        1000,
        5,
        'INVALID',
        0.5,
    ],
    [
        '#VALUE!',
        12000,
        1000,
        5,
        3,
        'INVALID',
    ],
    [
        '#NUM!',
        12000,
        -1000,
        5,
        3,
        0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        5,
        -3,
        0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        5,
        3,
        -0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        5,
        0,
        0.5,
    ],
    [
        '#NUM!',
        12000,
        1000,
        2,
        3,
        0.5,
    ],
];

Function Calls

None

Variables

None

Stats

MD5 f0b1ea4da72183e3216aa77518146771
Eval Count 0
Decode Time 70 ms