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::not_equal --FILE-- <?php $a = \NDArray::array([[1, 2], [3, 4]]); $b = \N..
Decoded Output download
--TEST--
NDArray::not_equal
--FILE--
<?php
$a = \NDArray::array([[1, 2], [3, 4]]);
$b = \NDArray::array([[5, 6], [7, 8]]);
$c = \NDArray::array([9, 10]);
print_r(\NDArray::not_equal($a, $b)->toArray());
print_r(\NDArray::not_equal($a, $a)->toArray());
print_r(\NDArray::not_equal($c, $c)->toArray());
?>
--EXPECT--
Array
(
[0] => Array
(
[0] => 1
[1] => 1
)
[1] => Array
(
[0] => 1
[1] => 1
)
)
Array
(
[0] => Array
(
[0] => 0
[1] => 0
)
[1] => Array
(
[0] => 0
[1] => 0
)
)
Array
(
[0] => 0
[1] => 0
)
Did this file decode correctly?
Original Code
--TEST--
NDArray::not_equal
--FILE--
<?php
$a = \NDArray::array([[1, 2], [3, 4]]);
$b = \NDArray::array([[5, 6], [7, 8]]);
$c = \NDArray::array([9, 10]);
print_r(\NDArray::not_equal($a, $b)->toArray());
print_r(\NDArray::not_equal($a, $a)->toArray());
print_r(\NDArray::not_equal($c, $c)->toArray());
?>
--EXPECT--
Array
(
[0] => Array
(
[0] => 1
[1] => 1
)
[1] => Array
(
[0] => 1
[1] => 1
)
)
Array
(
[0] => Array
(
[0] => 0
[1] => 0
)
[1] => Array
(
[0] => 0
[1] => 0
)
)
Array
(
[0] => 0
[1] => 0
)
Function Calls
None |
Stats
MD5 | 439f99037fef21c34a379c0a605212bc |
Eval Count | 0 |
Decode Time | 91 ms |