summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/sort_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/sort_basic.phpt')
-rw-r--r--ext/standard/tests/array/sort_basic.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/array/sort_basic.phpt b/ext/standard/tests/array/sort_basic.phpt
index 460b572fc1..5c6c412bee 100644
--- a/ext/standard/tests/array/sort_basic.phpt
+++ b/ext/standard/tests/array/sort_basic.phpt
@@ -1,15 +1,15 @@
--TEST--
-Test sort() function : basic functionality
+Test sort() function : basic functionality
--FILE--
<?php
/* Prototype : bool sort ( array &$array [, int $sort_flags] )
- * Description: This function sorts an array.
+ * Description: This function sorts an array.
Elements will be arranged from lowest to highest when this function has completed.
* Source code: ext/standard/array.c
*/
/*
- * Testing sort() by providing arrays with default keys and assoc arrays
+ * Testing sort() by providing arrays with default keys and assoc arrays
* to check the basic functionality with following flag values.
* flag value as defualt
* SORT_REGULAR - compare items normally
@@ -19,13 +19,13 @@ Test sort() function : basic functionality
echo "*** Testing sort() : basic functionality ***\n";
-// associative array containing unsorted string values
+// associative array containing unsorted string values
$unsorted_strings = array(
"l" => "lemon", "o" => "orange",
"O" => "Orange", "O1" => "Orange1", "o2" => "orange2", "O3" => "Orange3", "o20" => "orange20",
"b" => "banana",
);
-
+
// array with default keys containing unsorted numeric values
$unsorted_numerics = array( 100, 33, 555, 22 );