Skip to content

Commit 621e084

Browse files
committed
Comment nit
1 parent 061deb8 commit 621e084

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ext/standard/basic_functions_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 0a66e5b2c71762a74b9ff9ad11f80d265ef806e3 */
2+
* Stub hash: 24cfd1a7e3a606df071569d7c52b23efda729c2e */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
55
ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)

ext/standard/string.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5969,6 +5969,7 @@ PHP_FUNCTION(substr_compare)
59695969
}
59705970

59715971
if ((size_t)offset > ZSTR_LEN(s1)) {
5972+
// This was a Warning in PHP 7.x
59725973
php_error_docref(NULL, E_NOTICE, "Argument #3 ($%s) is not contained in argument #1 ($%s)",
59735974
get_active_function_arg_name(2), get_active_function_arg_name(1));
59745975
RETURN_LONG(0L);

0 commit comments

Comments
 (0)