/PHP-8.1/ext/standard/tests/strings/ |
H A D | stristr_basic.phpt | 2 Test stristr() function : basic functionality 6 echo "*** Testing stristr() : basic functionality ***\n"; 8 var_dump( stristr("Test string", "teSt") ); 9 var_dump( stristr("test stRIng", "striNG") ); 10 var_dump( stristr("teST StrinG", "stRIn") ); 11 var_dump( stristr("tesT string", "t S") ); 12 var_dump( stristr("test strinG", "g") ); 14 var_dump( stristr("tEst", "test") ); 15 var_dump( stristr("teSt", "test") ); 18 var_dump( stristr("Test String", "String", true) ); [all …]
|
H A D | stristr.phpt | 2 stristr() function 5 var_dump(stristr("tEsT sTrInG", "tEsT")); 6 var_dump(stristr("tEsT sTrInG", "stRiNg")); 7 var_dump(stristr("tEsT sTrInG", "stRiN")); 8 var_dump(stristr("tEsT sTrInG", "t S")); 9 var_dump(stristr("tEsT sTrInG", "g")); 11 var_dump(stristr("", "")); 12 var_dump(stristr("a", "")); 13 var_dump(stristr("", "a")); 14 var_dump(md5(stristr("\\\\a\\", "\\a"))); [all …]
|
H A D | stristr2.phpt | 2 stristr() - New parameter: before_needle 7 var_dump(stristr($email, 'c')); 8 var_dump(stristr($email, 'c', 1)); 11 var_dump(stristr($email, 'E')); 12 var_dump(stristr($email, 'E', 1)); 15 var_dump(stristr($email, 97)); 16 var_dump(stristr($email, 97, 1));
|
H A D | stristr_variation2.phpt | 2 Test stristr() function : usage variations - test values for $needle argument 6 echo "*** Testing stristr() function: with unexpected inputs for 'needle' argument ***\n"; 53 // loop through with each element of the $inputs array to test stristr() function 58 var_dump( stristr("Hello World", $input) ); 69 *** Testing stristr() function: with unexpected inputs for 'needle' argument *** 85 stristr(): Argument #2 ($needle) must be of type string, array given 87 stristr(): Argument #2 ($needle) must be of type string, array given 89 stristr(): Argument #2 ($needle) must be of type string, array given 101 stristr(): Argument #2 ($needle) must be of type string, resource given
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_phpinfo.phpt | 20 if (!stristr($phpinfo, "mysqli support")) 23 if (!stristr($phpinfo, "client api library version")) 26 if (!stristr($phpinfo, "mysqli.default_host")) 29 if (!stristr($phpinfo, "mysqli.default_port")) 32 if (!stristr($phpinfo, "mysqli.default_pw")) 35 if (!stristr($phpinfo, "mysqli.default_socket")) 38 if (!stristr($phpinfo, "mysqli.default_user")) 41 if (!stristr($phpinfo, "mysqli.max_links")) 44 if (!stristr($phpinfo, "mysqli.reconnect")) 54 if (!stristr($phpinfo, $entry))
|
H A D | mysqli_constants_categories.phpt | 11 if (stristr($name, 'mysqli')) {
|
H A D | mysqli_select_db.phpt | 66 if (!stristr($output, "1049") && !stristr($output, "1044") && !stristr($output, "1045")) {
|
H A D | mysqli_get_host_info.phpt | 19 if (!stristr($info, "TCP/IP"))
|
H A D | deprecated_constants.phpt | 12 if (stristr(mysqli_get_client_info(), 'mysqlnd')) {
|
H A D | mysqli_constants.phpt | 10 $IS_MYSQLND = stristr(mysqli_get_client_info(), "mysqlnd"); 192 if (stristr($name, 'mysqli')) {
|
H A D | mysqli_connect_oo_warnings.phpt | 10 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
|
H A D | mysqli_stmt_get_result_non_select.phpt | 40 if (stristr($engine[0], 'MyISAM')) {
|
H A D | bug44897.phpt | 7 if (!stristr(mysqli_get_client_info(), 'mysqlnd'))
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct.phpt | 84 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 98 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 115 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002')) 129 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005')) 156 if (!stristr($tmp, '42000') && !stristr($tmp, '1049') && !stristr($tmp, '1044')) 167 … if (PDO_MYSQL_TEST_SOCKET && (stristr(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_SOCKET) !== false)) { 174 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2002')) 222 … if (!stristr($tmp, 'sqlstatecode') || !stristr($tmp, 'mysqlinternalerrcode'))
|
H A D | pdo_mysql_attr_errmode.phpt | 97 if (false === stristr($msg, (string)$v)) { 135 if (false === stristr($msg, (string)$v)) {
|
/PHP-8.1/ext/zlib/tests/ |
H A D | ob_001.phpt | 7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_005.phpt | 7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_004.phpt | 7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_gzhandler_legacy_002.phpt | 7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_003.phpt | 7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
/PHP-8.1/ext/sockets/tests/ |
H A D | socket_strerror.phpt | 11 if (!stristr(PHP_OS, "Linux")) {
|
/PHP-8.1/ext/standard/tests/network/ |
H A D | bug64330.phpt | 6 if (!stristr(PHP_OS, "Linux")) die('skip abstract namespace is a Linux-only feature');
|
H A D | inet_ipv6.phpt | 12 if (stristr(PHP_OS, "darwin") !== false) die("skip MacOS has broken inet_*() funcs");
|
/PHP-8.1/ext/snmp/tests/ |
H A D | snmp_include.inc | 20 if (stristr(PHP_OS, "FreeBSD")) {
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | lstat_stat_variation6.phpt | 14 if( stristr($out, "noatime") )
|