Home
last modified time | relevance | path

Searched refs:str_starts_with (Results 1 – 8 of 8) sorted by relevance

/PHP-8.1/ext/standard/tests/strings/
H A Dstr_starts_with.phpt2 str_starts_with() function - unit tests for str_starts_with()
9 var_dump(str_starts_with($testStr, $testStr));
11 var_dump(str_starts_with($testStr, ""));
12 var_dump(str_starts_with("", ""));
13 var_dump(str_starts_with("", " "));
14 var_dump(str_starts_with($testStr, "\x00"));
15 var_dump(str_starts_with("\x00", ""));
16 var_dump(str_starts_with("\x00", "\x00"));
17 var_dump(str_starts_with("\x00a", "\x00"));
21 var_dump(str_starts_with("a", "a\x00"));
[all …]
/PHP-8.1/Zend/tests/
H A Darginfo_zpp_mismatch.inc15 || (is_string($function) && str_starts_with($function, 'ob_'))
20 || (is_string($function) && str_starts_with($function, 'snmp'))
/PHP-8.1/ext/mysqli/tests/
H A Dgh7932.phpt17 if (str_starts_with($mysqli->server_info, '5.5.5-')) {
H A Dgh11438.phpt70 if (!is_string($row['USER()']) || !str_starts_with($row['USER()'], 'shatest')) {
/PHP-8.1/ext/phar/tests/tar/
H A Dbug70417.phpt13 if (!str_starts_with($out[0], 'COMMAND')) {
/PHP-8.1/ext/standard/
H A Dbasic_functions.stub.php792 function str_starts_with(string $haystack, string $needle): bool {} function
H A Dbasic_functions_arginfo.h2484 ZEND_FUNCTION(str_starts_with);
3124 ZEND_FE(str_starts_with, arginfo_str_starts_with)
H A Dstring.c1881 PHP_FUNCTION(str_starts_with) argument

Completed in 41 milliseconds