Lines Matching refs:substr_compare
2 substr_compare()
6 var_dump(substr_compare("abcde", "df", -2) < 0);
7 var_dump(substr_compare("abcde", "df", -2, null) < 0);
8 var_dump(substr_compare("abcde", "bc", 1, 2));
9 var_dump(substr_compare("abcde", "bcg", 1, 2));
10 var_dump(substr_compare("abcde", "BC", 1, 2, true));
11 var_dump(substr_compare("abcde", "bc", 1, 3) > 0);
12 var_dump(substr_compare("abcde", "cd", 1, 2) < 0);
13 var_dump(substr_compare("abcde", "abc", 5, 1));
14 var_dump(substr_compare("abcde", "abcdef", -10, 10) < 0);
15 var_dump(substr_compare("abcde", "abc", 0, 0));
19 substr_compare("abcde", "abc", 0, -1);
23 var_dump(substr_compare("abcde", "abc", -1, NULL, -5) > 0);
37 substr_compare(): Argument #4 ($length) must be greater than or equal to 0