Return an array in the reverse order:


SUBMITTED BY: henry1874w

DATE: June 25, 2017, 2:46 p.m.

FORMAT: Text only

SIZE: 88 Bytes

HITS: 269

  1. <?php
  2. $a=array("a"=>"Volvo","b"=>"BMW","c"=>"Toyota");
  3. print_r(array_reverse($a));
  4. ?>

comments powered by Disqus