Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/strings/
H A Dstr_contains.phpt2 Test str_contains() function
5 var_dump(str_contains("test string", "test"));
6 var_dump(str_contains("test string", "string"));
8 var_dump(str_contains("test string", "t s"));
9 var_dump(str_contains("test string", "g"));
11 var_dump(str_contains("tEst", "test"));
12 var_dump(str_contains("teSt", "test"));
13 var_dump(str_contains("", ""));
14 var_dump(str_contains("a", ""));
15 var_dump(str_contains("", "a"));
[all …]
/PHP-8.0/ext/opcache/tests/opt/
H A Dsccp_exception3.phpt7 var_dump(str_contains("123", 1));
11 Fatal error: Uncaught TypeError: str_contains(): Argument #2 ($needle) must be of type string, int …
13 #0 %s(%d): str_contains('123', 1)
/PHP-8.0/Zend/tests/
H A Darginfo_zpp_mismatch.inc18 || (is_string($function) && str_contains($function, 'connect'))
/PHP-8.0/sapi/fpm/tests/
H A Dlogtool.inc326 if (empty($finalSuffix) || ! str_contains(self::FINAL_SUFFIX, $finalSuffix)) {
771 if ($this->error === null && ($line === null || ! str_contains($line, $ignoreFor))) {
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php598 function str_contains(string $haystack, string $needle): bool {} function
H A Dbasic_functions_arginfo.h2473 ZEND_FUNCTION(str_contains);
3110 ZEND_FE(str_contains, arginfo_str_contains)
H A Dstring.c1801 PHP_FUNCTION(str_contains) argument
/PHP-8.0/
H A DUPGRADING974 str_contains(string $haystack, string $needle): bool
980 RFC: https://wiki.php.net/rfc/str_contains

Completed in 51 milliseconds