summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/arsort_object1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/arsort_object1.phpt')
-rw-r--r--ext/standard/tests/array/arsort_object1.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/array/arsort_object1.phpt b/ext/standard/tests/array/arsort_object1.phpt
index f73696392e..75cee2de5b 100644
--- a/ext/standard/tests/array/arsort_object1.phpt
+++ b/ext/standard/tests/array/arsort_object1.phpt
@@ -1,15 +1,15 @@
--TEST--
-Test arsort() function : object functionality - sort objects
+Test arsort() function : object functionality - sort objects
--FILE--
<?php
/* Prototype : bool arsort ( array &$array [, int $asort_flags] )
- * Description: Sort an array and maintain index association.
+ * Description: Sort an array and maintain index association.
Elements will be arranged from highest to lowest when this function has completed.
* Source code: ext/standard/array.c
*/
/*
- * testing arsort() by providing integer/string object arrays with following flag values
+ * testing arsort() by providing integer/string object arrays with following flag values
* 1. Defualt flag value
* 2. SORT_REGULAR - compare items normally
*/
@@ -44,14 +44,14 @@ class for_string_arsort
}
// array of integer objects
-$unsorted_int_obj = array (
+$unsorted_int_obj = array (
1 => new for_integer_arsort(11), 2 => new for_integer_asort(66),
3 => new for_integer_arsort(23), 4 => new for_integer_asort(-5),
5 => new for_integer_arsort(0.001), 6 => new for_integer_asort(0)
);
// array of string objects
-$unsorted_str_obj = array (
+$unsorted_str_obj = array (
"a" => new for_string_arsort("axx"), "b" => new for_string_asort("t"),
"c" => new for_string_arsort("w"), "d" => new for_string_asort("py"),
"e" => new for_string_arsort("apple"), "f" => new for_string_asort("Orange"),