Home
last modified time | relevance | path

Searched refs:stristr (Results 1 – 25 of 43) sorted by relevance

12

/PHP-8.0/ext/standard/tests/strings/
H A Dstristr_basic.phpt2 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 Dstristr.phpt2 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 Dstristr2.phpt2 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 Dstristr_variation2.phpt2 Test stristr() function : usage variations - test values for $needle argument
6 echo "*** Testing stristr() function: with unexpected inputs for 'needle' argument ***\n";
67 // loop through with each element of the $inputs array to test stristr() function
72 var_dump( stristr("Hello World", $input) );
83 *** Testing stristr() function: with unexpected inputs for 'needle' argument ***
99 stristr(): Argument #2 ($needle) must be of type string, array given
101 stristr(): Argument #2 ($needle) must be of type string, array given
103 stristr(): Argument #2 ($needle) must be of type string, array given
119 stristr(): Argument #2 ($needle) must be of type string, resource given
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_phpinfo.phpt19 if (!stristr($phpinfo, "mysqli support"))
22 if (!stristr($phpinfo, "client api library version"))
25 if (!stristr($phpinfo, "mysqli.default_host"))
28 if (!stristr($phpinfo, "mysqli.default_port"))
31 if (!stristr($phpinfo, "mysqli.default_pw"))
34 if (!stristr($phpinfo, "mysqli.default_socket"))
37 if (!stristr($phpinfo, "mysqli.default_user"))
40 if (!stristr($phpinfo, "mysqli.max_links"))
43 if (!stristr($phpinfo, "mysqli.reconnect"))
53 if (!stristr($phpinfo, $entry))
H A Dbug75434.phpt6 if (!stristr(mysqli_get_client_info(), 'mysqlnd')) die("skip: only available in mysqlnd");
H A Dmysqli_constants_categories.phpt13 if (stristr($name, 'mysqli')) {
H A Dmysqli_select_db.phpt65 if (!stristr($output, "1049") && !stristr($output, "1044") && !stristr($output, "1045")) {
H A Dmysqli_get_host_info.phpt18 if (!stristr($info, "TCP/IP"))
H A Dmysqli_connect_oo_warnings.phpt9 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
H A Dmysqli_stmt_get_result_non_select.phpt40 if (stristr($v, 'MyISAM')) {
H A Dbug44897.phpt7 if (!stristr(mysqli_get_client_info(), 'mysqlnd'))
H A Dmysqli_stmt_send_long_data_packet_size_libmysql.phpt8 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct.phpt82 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002'))
96 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002'))
113 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005') && !stristr($tmp, '2002'))
127 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2005'))
154 if (!stristr($tmp, '42000') && !stristr($tmp, '1049') && !stristr($tmp, '1044'))
165 … if (PDO_MYSQL_TEST_SOCKET && (stristr(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_SOCKET) !== false)) {
172 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2002'))
220 … if (!stristr($tmp, 'sqlstatecode') || !stristr($tmp, 'mysqlinternalerrcode'))
H A Dpdo_mysql_attr_errmode.phpt97 if (false === stristr($msg, (string)$v)) {
135 if (false === stristr($msg, (string)$v)) {
/PHP-8.0/ext/zlib/tests/
H A Dob_001.phpt6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_005.phpt6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_004.phpt6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_gzhandler_legacy_002.phpt6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_003.phpt6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
/PHP-8.0/ext/standard/tests/network/
H A Dbug64330.phpt6 if (!stristr(PHP_OS, "Linux")) die('skip abstract namespace is a Linux-only feature');
H A Dinet_ipv6.phpt12 if (stristr(PHP_OS, "darwin") !== false) die("skip MacOS has broken inet_*() funcs");
/PHP-8.0/ext/sockets/tests/
H A Dsocket_strerror.phpt11 if (!stristr(PHP_OS, "Linux")) {
/PHP-8.0/ext/snmp/tests/
H A Dsnmp_include.inc20 if (stristr(PHP_OS, "FreeBSD")) {
/PHP-8.0/ext/standard/tests/file/
H A Dlstat_stat_variation6.phpt14 if( stristr($out, "noatime") )

Completed in 20 milliseconds

12