Home
last modified time | relevance | path

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

12

/PHP-8.1/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";
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 Dmysqli_phpinfo.phpt20 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 Dmysqli_constants_categories.phpt11 if (stristr($name, 'mysqli')) {
H A Dmysqli_select_db.phpt66 if (!stristr($output, "1049") && !stristr($output, "1044") && !stristr($output, "1045")) {
H A Dmysqli_get_host_info.phpt19 if (!stristr($info, "TCP/IP"))
H A Ddeprecated_constants.phpt12 if (stristr(mysqli_get_client_info(), 'mysqlnd')) {
H A Dmysqli_constants.phpt10 $IS_MYSQLND = stristr(mysqli_get_client_info(), "mysqlnd");
192 if (stristr($name, 'mysqli')) {
H A Dmysqli_connect_oo_warnings.phpt10 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
H A Dmysqli_stmt_get_result_non_select.phpt40 if (stristr($engine[0], 'MyISAM')) {
H A Dbug44897.phpt7 if (!stristr(mysqli_get_client_info(), 'mysqlnd'))
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct.phpt84 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 Dpdo_mysql_attr_errmode.phpt97 if (false === stristr($msg, (string)$v)) {
135 if (false === stristr($msg, (string)$v)) {
/PHP-8.1/ext/zlib/tests/
H A Dob_001.phpt7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_005.phpt7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_004.phpt7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_gzhandler_legacy_002.phpt7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
H A Dob_003.phpt7 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
/PHP-8.1/ext/sockets/tests/
H A Dsocket_strerror.phpt11 if (!stristr(PHP_OS, "Linux")) {
/PHP-8.1/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.1/ext/snmp/tests/
H A Dsnmp_include.inc20 if (stristr(PHP_OS, "FreeBSD")) {
/PHP-8.1/ext/standard/tests/file/
H A Dlstat_stat_variation6.phpt14 if( stristr($out, "noatime") )

Completed in 20 milliseconds

12