programming-examples/php/Basics/Program to sort elements in an array in ascending order..php

7 lines
73 B
PHP
Raw Permalink Normal View History

2019-11-18 14:44:36 +01:00
<?php
$arr = array(10,5,8,3,45);
sort($arr);
print_r($arr);
?>