/php-src/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-src/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-src/sapi/cli/tests/ |
H A D | php_cli_server_pdeathsig.phpt | 8 if (!(str_contains(PHP_OS, 'Linux') || str_contains(PHP_OS, 'FreeBSD'))) {
|
H A D | 025.phpt | 15 var_dump(str_contains($output, "extension_dir => "));
|
H A D | 021.phpt | 10 if (str_contains(getenv('TEST_PHP_EXECUTABLE'), " ")) {
|
/php-src/ext/xml/tests/ |
H A D | libxml_expat_skipif.inc | 6 if ($want_expat !== str_contains($output, 'EXPAT')) {
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | getBytesFromString.phpt | 36 if (!str_contains($output, 'a') || !str_contains($output, 'b')) {
|
/php-src/ext/posix/tests/ |
H A D | posix_setrlimit.phpt | 9 if (str_contains(PHP_OS, 'FreeBSD')) die('skip different behavior on FreeBSD');
|
/php-src/ext/standard/tests/time/ |
H A D | bug38524.phpt | 6 if (str_contains(PHP_OS, 'FreeBSD')) {
|
/php-src/sapi/fpm/tests/ |
H A D | setsofib.phpt | 7 if (!str_contains(PHP_OS, 'FreeBSD')) {
|
/php-src/ext/sockets/tests/ |
H A D | socket_tcp_congestion.phpt | 14 if (str_contains(PHP_OS, 'Linux')) {
|
H A D | socket_cmsg_credentials_fbsd.phpt | 8 if (!str_contains(PHP_OS, 'FreeBSD')) {
|
/php-src/ext/gd/tests/ |
H A D | bug79945.phpt | 11 if (str_contains($errstr, 'Cannot cast a filtered stream on this system')) {
|
/php-src/ext/mbstring/tests/ |
H A D | gh7902.phpt | 7 if (str_contains(getcwd(), " ")) die("skip sendmail_path ini with spaces");
|
/php-src/Zend/tests/ |
H A D | arginfo_zpp_mismatch.inc | 19 || (is_string($function) && str_contains($function, 'connect'))
|
/php-src/ext/curl/tests/ |
H A D | curl_version_features-array.phpt | 19 if (!str_contains($phpinfo, $key .' => ' . $value ? 'Yes' : 'No')) {
|
/php-src/ext/intl/tests/ |
H A D | bug58756_MessageFormatter_variant2.phpt | 11 if (str_contains(PHP_OS, 'FreeBSD')) {
|
H A D | msgfmt_format_intlcalendar_variant4.phpt | 8 if (str_contains(PHP_OS, 'FreeBSD')) {
|
/php-src/ext/spl/tests/ |
H A D | bug80724.phpt | 34 return str_contains($key, __DIR__ . DIRECTORY_SEPARATOR);
|
/php-src/ext/simplexml/tests/ |
H A D | bug79971_1.phpt | 7 if (str_contains(getcwd(), ' ')) die('skip simplexml already escapes the path with spaces so this t…
|
/php-src/ext/odbc/tests/ |
H A D | odbc_primarykeys_001.phpt | 14 if (!str_contains($info, "Microsoft SQL Server")) {
|
H A D | bug60616.phpt | 18 if (str_contains($info, "Microsoft SQL Server")) {
|
H A D | odbc_persistent_close.phpt | 21 if (!str_contains($info, "Microsoft SQL Server")) {
|
/php-src/ext/pcntl/tests/ |
H A D | 002.phpt | 15 elseif (str_contains(PHP_OS, 'FreeBSD')) die('skip Results in parallel test runner hang on FreeBSD'…
|
/php-src/ext/openssl/tests/ |
H A D | openssl_pkcs7_encrypt_basic.phpt | 53 …if (str_contains($content, 'Content-Type: application/pkcs7-mime; smime-type=enveloped-data; name=…
|