Searched refs:str_starts_with (Results 1 – 13 of 13) sorted by relevance
/php-src/ext/standard/tests/strings/ |
H A D | str_starts_with.phpt | 2 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-src/Zend/tests/ |
H A D | arginfo_zpp_mismatch.inc | 18 || (is_string($function) && str_starts_with($function, 'ob_')) 23 || (is_string($function) && str_starts_with($function, 'snmp'))
|
/php-src/ext/mysqli/tests/ |
H A D | gh7932.phpt | 17 if (str_starts_with($mysqli->server_info, '5.5.5-')) {
|
H A D | gh11438.phpt | 70 if (!is_string($row['USER()']) || !str_starts_with($row['USER()'], 'shatest')) {
|
/php-src/Zend/tests/in-de-crement/ |
H A D | overloaded_access.phpt | 6 if (str_starts_with($m, 'Indirect modification of overloaded element')) { return; }
|
/php-src/ext/phar/tests/tar/ |
H A D | bug70417.phpt | 13 if (!str_starts_with($out[0], 'COMMAND')) {
|
/php-src/ext/pdo/tests/ |
H A D | pdo_039.phpt | 9 if (str_starts_with(getenv('PDOTEST_DSN'), "firebird")) die('xfail firebird driver does not behave …
|
H A D | bug_73234.phpt | 9 if (str_starts_with(getenv('PDOTEST_DSN'), "firebird")) die('xfail firebird driver does not behave …
|
/php-src/sapi/fpm/tests/ |
H A D | gh13563-conf-bool-env.phpt | 36 if (str_starts_with(\$name, 'FPM_TEST')) {
|
/php-src/ext/curl/tests/ |
H A D | curl_setopt_CURLOPT_DEBUGFUNCTION.phpt | 72 if (str_starts_with($headerReceived, 'Date')) {
|
/php-src/ext/standard/ |
H A D | basic_functions_arginfo.h | 2250 ZEND_FRAMELESS_FUNCTION(str_starts_with, 2); 2252 { ZEND_FRAMELESS_FUNCTION_NAME(str_starts_with, 2), 2 }, 2542 ZEND_FUNCTION(str_starts_with);
|
H A D | basic_functions.stub.php | 2437 function str_starts_with(string $haystack, string $needle): bool {}
|
H A D | string.c | 1852 PHP_FUNCTION(str_starts_with) argument 1865 ZEND_FRAMELESS_FUNCTION(str_starts_with, 2)
|
Completed in 47 milliseconds