File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5960,7 +5960,7 @@ PHP_FUNCTION(substr_compare)
5960
5960
}
5961
5961
5962
5962
if ((size_t )offset > ZSTR_LEN (s1 )) {
5963
- zend_argument_value_error (3 , "must be contained in argument #1 ($main_str )" );
5963
+ zend_argument_value_error (3 , "must be contained in argument #1 ($haystack )" );
5964
5964
RETURN_THROWS ();
5965
5965
}
5966
5966
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ string(6) "abcdex"
81
81
int(0)
82
82
int(0)
83
83
substr_count(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
84
- substr_compare(): Argument #3 ($offset) must be contained in argument #1 ($main_str )
84
+ substr_compare(): Argument #3 ($offset) must be contained in argument #1 ($haystack )
85
85
stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
86
86
substr_count(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
87
87
substr_count(): Argument #4 ($length) must be contained in argument #1 ($haystack)
You can’t perform that action at this time.
0 commit comments