Home
last modified time | relevance | path

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

/PHP-8.2/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.2/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.2/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.2/ext/phar/tests/tar/
H A Dbug70417.phpt13 if (!str_starts_with($out[0], 'COMMAND')) {
/PHP-8.2/ext/pdo/tests/
H A Dpdo_039.phpt9 if (str_starts_with(getenv('PDOTEST_DSN'), "firebird")) die('xfail firebird driver does not behave …
H A Dbug_73234.phpt9 if (str_starts_with(getenv('PDOTEST_DSN'), "firebird")) die('xfail firebird driver does not behave …
/PHP-8.2/sapi/fpm/tests/
H A Dgh13563-conf-bool-env.phpt36 if (str_starts_with(\$name, 'FPM_TEST')) {
/PHP-8.2/ext/standard/
H A Dbasic_functions.stub.php1687 function str_starts_with(string $haystack, string $needle): bool {}
H A Dbasic_functions_arginfo.h2466 ZEND_FUNCTION(str_starts_with);
3101 ZEND_SUPPORTS_COMPILE_TIME_EVAL_FE(str_starts_with, arginfo_str_starts_with)
H A Dstring.c1760 PHP_FUNCTION(str_starts_with) argument

Completed in 41 milliseconds