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