Searched refs:str_contains (Results 1 – 8 of 8) sorted by relevance
/PHP-8.0/ext/standard/tests/strings/ |
H A D | str_contains.phpt | 2 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 D | sccp_exception3.phpt | 7 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 D | arginfo_zpp_mismatch.inc | 18 || (is_string($function) && str_contains($function, 'connect'))
|
/PHP-8.0/sapi/fpm/tests/ |
H A D | logtool.inc | 326 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 D | basic_functions.stub.php | 598 function str_contains(string $haystack, string $needle): bool {} function
|
H A D | basic_functions_arginfo.h | 2473 ZEND_FUNCTION(str_contains); 3110 ZEND_FE(str_contains, arginfo_str_contains)
|
H A D | string.c | 1801 PHP_FUNCTION(str_contains) argument
|
/PHP-8.0/ |
H A D | UPGRADING | 974 str_contains(string $haystack, string $needle): bool 980 RFC: https://wiki.php.net/rfc/str_contains
|
Completed in 51 milliseconds