[ create a new paste ] login | about

Link: http://codepad.org/3IN9Wxfb    [ raw code | output | fork ]

PHP, pasted on Nov 27:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

$array = array(
 'total_ids' => 0,
 'unique_ips' => 0,
 'unique_ids' => 0,
 'global' => 0,
 'total_ips' => 0,
);


var_dump( $array);

krsort($array);

var_dump( $array);


Output:
array(5) {
  ["total_ids"]=>
  int(0)
  ["unique_ips"]=>
  int(0)
  ["unique_ids"]=>
  int(0)
  ["global"]=>
  int(0)
  ["total_ips"]=>
  int(0)
}
array(5) {
  ["unique_ips"]=>
  int(0)
  ["unique_ids"]=>
  int(0)
  ["total_ips"]=>
  int(0)
  ["total_ids"]=>
  int(0)
  ["global"]=>
  int(0)
}


Create a new paste based on this one


Comments: