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::arctan --FILE-- <?php $a = \NDArray::array([[0, -0.5], [0, -0.5]]); prin..
Decoded Output download
--TEST--
NDArray::arctan
--FILE--
<?php
$a = \NDArray::array([[0, -0.5], [0, -0.5]]);
print_r(\NDArray::arctan($a)->toArray());
print_r(\NDArray::arctan($a[0])->toArray());
print_r(\NDArray::arctan([[0],[-0.5]])->toArray());
?>
--EXPECT--
Array
(
[0] => Array
(
[0] => 0
[1] => -0.46364760398865
)
[1] => Array
(
[0] => 0
[1] => -0.46364760398865
)
)
Array
(
[0] => 0
[1] => -0.46364760398865
)
Array
(
[0] => Array
(
[0] => 0
)
[1] => Array
(
[0] => -0.46364760398865
)
)
Did this file decode correctly?
Original Code
--TEST--
NDArray::arctan
--FILE--
<?php
$a = \NDArray::array([[0, -0.5], [0, -0.5]]);
print_r(\NDArray::arctan($a)->toArray());
print_r(\NDArray::arctan($a[0])->toArray());
print_r(\NDArray::arctan([[0],[-0.5]])->toArray());
?>
--EXPECT--
Array
(
[0] => Array
(
[0] => 0
[1] => -0.46364760398865
)
[1] => Array
(
[0] => 0
[1] => -0.46364760398865
)
)
Array
(
[0] => 0
[1] => -0.46364760398865
)
Array
(
[0] => Array
(
[0] => 0
)
[1] => Array
(
[0] => -0.46364760398865
)
)
Function Calls
None |
Stats
MD5 | 2db538660ced82e859e729c0e35a8b8e |
Eval Count | 0 |
Decode Time | 87 ms |