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

7 lines
73 B
PHP
Raw Normal View History

2019-11-15 12:59:38 +01:00
<?php
$arr = array(10,5,8,3,45);
sort($arr);
print_r($arr);
?>