klassenarbeit 2 progp vom 15.1.12025

This commit is contained in:
danielvici123
2025-01-15 13:14:16 +01:00
parent 2d0894a8f3
commit 1507b7d590
5 changed files with 171 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
<?php
$number = $array(3,5,1,2); // index 0 = 3, index 1 = 5, index 2 = 1, index 3 = 2
sort($number); // => $number = array(1,2,3,5); index: 0 = 1, index 1 = 2, index 2 = 3, index 3 = 5
asort($number); // => $number = array(1,2,3,4,5); index: 0 = 2, index 1 = 1, index 2 = 5, index 3 = 3
?>