php
$a=array("red","green","blue","yellow","brown");
print_r(array_slice($a,2));
?...php
$a=array("red","green","blue","yellow","brown");
print_r(array_slice($a,1,2));
?...php
$a=array("red","green","blue","yellow","brown");
print_r(array_slice($a,-2,1));
?...php
$a=array("red","green","blue","yellow","brown");
print_r(array_slice($a,1,2,true));
?...php
$a=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow","e"=>"brown");
print_r(array_slice($a,