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::square --FILE-- <?php $a = \NDArray::array([[-156, 150], [19, -39]]); pr..
Decoded Output download
--TEST--
NDArray::square
--FILE--
<?php
$a = \NDArray::array([[-156, 150], [19, -39]]);
print_r(\NDArray::square($a)->toArray());
print_r(\NDArray::square($a[0])->toArray());
print_r(\NDArray::square([[0],[-0.5]])->toArray());
?>
--EXPECT--
Array
(
[0] => Array
(
[0] => 24336
[1] => 22500
)
[1] => Array
(
[0] => 361
[1] => 1521
)
)
Array
(
[0] => 24336
[1] => 22500
)
Array
(
[0] => Array
(
[0] => 0
)
[1] => Array
(
[0] => 0.25
)
)
Did this file decode correctly?
Original Code
--TEST--
NDArray::square
--FILE--
<?php
$a = \NDArray::array([[-156, 150], [19, -39]]);
print_r(\NDArray::square($a)->toArray());
print_r(\NDArray::square($a[0])->toArray());
print_r(\NDArray::square([[0],[-0.5]])->toArray());
?>
--EXPECT--
Array
(
[0] => Array
(
[0] => 24336
[1] => 22500
)
[1] => Array
(
[0] => 361
[1] => 1521
)
)
Array
(
[0] => 24336
[1] => 22500
)
Array
(
[0] => Array
(
[0] => 0
)
[1] => Array
(
[0] => 0.25
)
)
Function Calls
None |
Stats
MD5 | bc22f47b902f375f7ae334727117a3d7 |
Eval Count | 0 |
Decode Time | 76 ms |