Quick actions

cmd+k|ctrl+k

Navigation

Languages

test_sort

Snippet info

Language

Php

Visibility

public

Author

fenghestudio

Created

2019-09-17T02:23:40Z

Updated

2019-09-17T02:23:40Z

<?php

$fruits = array("lemon", "orange", "banana", "apple");

sort($fruits);

foreach ($fruits as $key =>
 $val) {
    echo "fruits[" . $key . "] = " . $val . "\n";

}
?>
INFO