Merge branch 'PHP-7.4'
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 8 Apr 2019 09:42:34 +0000 (11:42 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 8 Apr 2019 09:42:34 +0000 (11:42 +0200)
1  2 
ext/standard/string.c
ext/standard/tests/strings/substr_compare.phpt

Simple merge
index 2e3256631c33f7bb7dc516abe146c056402dde9a,f1edf0afdf108e22cf564395d03a073187b1d2fd..9d4bac4ba9938dff209609e7fb739c7bda3b9ae8
@@@ -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