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-- Test array_multisort() function : usage variation - testing with multiple array a..

Decoded Output download

*** Testing array_multisort() : Testing  with multiple array arguments ***

Did this file decode correctly?

Original Code

--TEST--
Test array_multisort() function : usage variation - testing with multiple array arguments
--FILE--
<?php
echo "*** Testing array_multisort() : Testing  with multiple array arguments ***\n";

$arr1 = array (4,3,3,3);
$arr2 = array (9,3,2,2);
$arr3 = array (9,9,2,1);

var_dump(array_multisort($arr1, $arr2, $arr3));

var_dump($arr1);
var_dump($arr2);
var_dump($arr3);

?>
--EXPECT--
*** Testing array_multisort() : Testing  with multiple array arguments ***
bool(true)
array(4) {
  [0]=>
  int(3)
  [1]=>
  int(3)
  [2]=>
  int(3)
  [3]=>
  int(4)
}
array(4) {
  [0]=>
  int(2)
  [1]=>
  int(2)
  [2]=>
  int(3)
  [3]=>
  int(9)
}
array(4) {
  [0]=>
  int(1)
  [1]=>
  int(2)
  [2]=>
  int(9)
  [3]=>
  int(9)
}

Function Calls

array_multisort 1

Variables

$arr1 [{'key': 0, 'value': 4}, {'key': 1, 'value': 3}, {'key': 2, 'value': 3}, {'key': 3, 'value': 3}]
$arr2 [{'key': 0, 'value': 9}, {'key': 1, 'value': 3}, {'key': 2, 'value': 2}, {'key': 3, 'value': 2}]
$arr3 [{'key': 0, 'value': 9}, {'key': 1, 'value': 9}, {'key': 2, 'value': 2}, {'key': 3, 'value': 1}]

Stats

MD5 d4d6fcc5a0b0a5e44194ee8b489b5c10
Eval Count 0
Decode Time 96 ms