Глава 11: завершение черновика главы

This commit is contained in:
Igor Simdyanov
2022-04-30 17:49:10 +03:00
parent a87355563c
commit 9c382c69b3
37 changed files with 300 additions and 10 deletions

14
arrays/sort.php Normal file
View File

@ -0,0 +1,14 @@
<?php
$numbers = ['2', '1', '4', '3','5'];
echo 'до сортировки: <br />';
echo '<pre>';
print_r($numbers);
echo '</pre>';
sort($numbers);
echo 'после сортировки: <br />';
echo '<pre>';
print_r($numbers);
echo '</pre>';