mirror of
https://github.com/php/php-src.git
synced 2025-01-14 15:54:36 +08:00
Merge branch 'PHP-5.6'
This commit is contained in:
commit
939b2db87d
@ -3,7 +3,7 @@ substr_compare()
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
var_dump(substr_compare("abcde", "df", -2));
|
||||
var_dump(substr_compare("abcde", "df", -2) < 0);
|
||||
var_dump(substr_compare("abcde", "bc", 1, 2));
|
||||
var_dump(substr_compare("abcde", "bcg", 1, 2));
|
||||
var_dump(substr_compare("abcde", "BC", 1, 2, true));
|
||||
@ -21,7 +21,7 @@ var_dump(substr_compare("abcde", -1, 0, "str", new stdClass));
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
int(-1)
|
||||
bool(true)
|
||||
int(0)
|
||||
int(0)
|
||||
int(0)
|
||||
|
Loading…
Reference in New Issue
Block a user