com php-src: Merge branch 'PHP-7.4': ext/standard/string.c ext/standard/tests/strings/substr_compare.phpt
| From: | Nikita Popov | Date: | Mon, 08 Apr 2019 09:42:34 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.4': ext/standard/string.c ext/standard/tests/strings/substr_compare.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105571@lists.php.net to get a copy of this message | ||
Commit: aebf80e52dcdacb151e097ade0ea008380d3881c
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 8 Apr 2019 11:42:34 +0200
Parents: 231601e8f2c57b39fa2accc0f7275e7918307649 c3ca4dd53e4c6765e50280d422456674a7034f08
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aebf80e52dcdacb151e097ade0ea008380d3881c
Log:
Merge branch 'PHP-7.4'
Changed paths:
MM ext/standard/string..c
MM ext/standard/tests/strings/substr_compare.phpt
Diff:
diff --cc ext/standard/tests/strings/substr_compare.phpt
index 2e32566,f1edf0a..9d4bac4
--- a/ext/standard/tests/strings/substr_compare.phpt
+++ b/ext/standard/tests/strings/substr_compare.phpt
@@@ -25,11 -27,12 +25,9 @@@ int(0
int(0)
bool(true)
bool(true)
-
- Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
- bool(false)
+ int(-1)
bool(true)
int(0)
-
-Warning: substr_compare() expects parameter 5 to be bool, object given in %s on line %d
-bool(false)
Test
Warning: substr_compare(): The length must be greater than or equal to zero in %s on line %d