<?php
$years = array(
1=>"2000",
2=>"2001",
3=>"2002",
4=>"2003",
5=>"2004",
6=>"2005",
7=>"2006",
8=>"2007",
9=>"2008",
10=>"2009",
11=>"2010",
12=>"2011",
13=>"2012",
14=>"2013",
)
var_dump($years);
var_dump(rsort($years));
var_dump(krsort($years));
?>
- Output for 5.4.0 - 5.4.10
- Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/1YAcL on line 19
Process exited with code 255. - Output for 5.3.0 - 5.3.20
- Parse error: syntax error, unexpected T_STRING in /in/1YAcL on line 19
Process exited with code 255.
preferences:
171.42 ms | 1386 KiB | 39 Q