Sort the elements of the $cars array in descending alphabetical order:


SUBMITTED BY: henry1874w

DATE: June 27, 2017, 5:20 p.m.

FORMAT: Text only

SIZE: 62 Bytes

HITS: 294

  1. <?php
  2. $cars=array("Volvo","BMW","Toyota");
  3. rsort($cars);
  4. ?>

comments powered by Disqus