Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $fruits = array("lemon", "orange", "banana", "apple");
- rsort($fruits);
- foreach ($fruits as $key => $val) {
- echo "$key = $val\n";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement