about summary refs log tree commit diff
path: root/usth/ICT3.2/prac/4/6.php
diff options
context:
space:
mode:
Diffstat (limited to 'usth/ICT3.2/prac/4/6.php')
-rw-r--r--usth/ICT3.2/prac/4/6.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/usth/ICT3.2/prac/4/6.php b/usth/ICT3.2/prac/4/6.php
new file mode 100644
index 0000000..a70cd4d
--- /dev/null
+++ b/usth/ICT3.2/prac/4/6.php
@@ -0,0 +1,5 @@
+<?php
+function sort_immutable(array $a): array {
+    sort($a);
+    return $a;
+}