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

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- NDArray::expm1 --FILE-- <?php $a = \NDArray::array([[1, 2], [3, 4]]); print_r(\ND..

Decoded Output download

--TEST--
NDArray::expm1
--FILE--
<?php
$a = \NDArray::array([[1, 2], [3, 4]]);
print_r(\NDArray::expm1($a)->toArray());
print_r(\NDArray::expm1($a[0])->toArray());
print_r(\NDArray::expm1([[1],[2]])->toArray());
?>
--EXPECT--
Array
(
    [0] => Array
        (
            [0] => 1.7182817459106
            [1] => 6.3890562057495
        )

    [1] => Array
        (
            [0] => 19.085536956787
            [1] => 53.598152160645
        )

)
Array
(
    [0] => 1.7182817459106
    [1] => 6.3890562057495
)
Array
(
    [0] => Array
        (
            [0] => 1.7182817459106
        )

    [1] => Array
        (
            [0] => 6.3890562057495
        )

)

Did this file decode correctly?

Original Code

--TEST--
NDArray::expm1
--FILE--
<?php
$a = \NDArray::array([[1, 2], [3, 4]]);
print_r(\NDArray::expm1($a)->toArray());
print_r(\NDArray::expm1($a[0])->toArray());
print_r(\NDArray::expm1([[1],[2]])->toArray());
?>
--EXPECT--
Array
(
    [0] => Array
        (
            [0] => 1.7182817459106
            [1] => 6.3890562057495
        )

    [1] => Array
        (
            [0] => 19.085536956787
            [1] => 53.598152160645
        )

)
Array
(
    [0] => 1.7182817459106
    [1] => 6.3890562057495
)
Array
(
    [0] => Array
        (
            [0] => 1.7182817459106
        )

    [1] => Array
        (
            [0] => 6.3890562057495
        )

)

Function Calls

None

Variables

None

Stats

MD5 978445340ccfa8668fed4170ca7d16d9
Eval Count 0
Decode Time 84 ms