Skip to content

Commit 1db9c24

Browse files
committed
s/larger/greater
1 parent dba1822 commit 1db9c24

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

ext/standard/array.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ static inline int php_array_user_compare_unstable(Bucket *f, Bucket *s) /* {{{ *
943943
if (!ARRAYG(compare_deprecation_thrown)) {
944944
php_error_docref(NULL, E_DEPRECATED,
945945
"Returning bool from comparison function is deprecated, "
946-
"return an integer less than, equal to, or larger than zero");
946+
"return an integer less than, equal to, or greater than zero");
947947
ARRAYG(compare_deprecation_thrown) = 1;
948948
}
949949

@@ -1087,7 +1087,7 @@ static inline int php_array_user_key_compare_unstable(Bucket *f, Bucket *s) /* {
10871087
if (!ARRAYG(compare_deprecation_thrown)) {
10881088
php_error_docref(NULL, E_DEPRECATED,
10891089
"Returning bool from comparison function is deprecated, "
1090-
"return an integer less than, equal to, or larger than zero");
1090+
"return an integer less than, equal to, or greater than zero");
10911091
ARRAYG(compare_deprecation_thrown) = 1;
10921092
}
10931093

ext/standard/tests/array/usort_variation11.phpt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,45 +43,45 @@ echo "okey";
4343

4444
?>
4545
--EXPECTF--
46-
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
46+
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
4747

48-
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
48+
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
4949

50-
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
50+
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
5151

52-
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
52+
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
5353

54-
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
54+
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
5555

56-
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
56+
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
5757

58-
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
58+
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
5959

60-
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
60+
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
6161

62-
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
62+
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
6363

64-
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
64+
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
6565

66-
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
66+
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
6767

68-
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
68+
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
6969

70-
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
70+
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
7171

72-
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
72+
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
7373

74-
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
74+
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
7575

76-
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
76+
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
7777

78-
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
78+
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
7979

80-
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
80+
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
8181

82-
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
82+
Deprecated: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
8383

84-
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
84+
Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
8585

86-
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or larger than zero in %s on line %d
86+
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in %s on line %d
8787
okey

0 commit comments

Comments
 (0)