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::cosh --FILE-- <?php $a = \NDArray::array([[0, -0.5], [0, -0.5]]); print_..

Decoded Output download

--TEST--
NDArray::cosh
--FILE--
<?php
$a = \NDArray::array([[0, -0.5], [0, -0.5]]);
print_r(\NDArray::cosh($a)->toArray());
print_r(\NDArray::cosh($a[0])->toArray());
print_r(\NDArray::cosh([[0],[-0.5]])->toArray());
?>
--EXPECT--
Array
(
    [0] => Array
        (
            [0] => 1
            [1] => 1.1276259422302
        )

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

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

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

)

Did this file decode correctly?

Original Code

--TEST--
NDArray::cosh
--FILE--
<?php
$a = \NDArray::array([[0, -0.5], [0, -0.5]]);
print_r(\NDArray::cosh($a)->toArray());
print_r(\NDArray::cosh($a[0])->toArray());
print_r(\NDArray::cosh([[0],[-0.5]])->toArray());
?>
--EXPECT--
Array
(
    [0] => Array
        (
            [0] => 1
            [1] => 1.1276259422302
        )

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

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

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

)

Function Calls

None

Variables

None

Stats

MD5 0f7ea760ea6e8007695b65f2732cc829
Eval Count 0
Decode Time 84 ms