/PHP-8.0/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"; 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 D | mysqli_phpinfo.phpt | 19 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 D | bug75434.phpt | 6 if (!stristr(mysqli_get_client_info(), 'mysqlnd')) die("skip: only available in mysqlnd");
|
H A D | mysqli_constants_categories.phpt | 13 if (stristr($name, 'mysqli')) {
|
H A D | mysqli_select_db.phpt | 65 if (!stristr($output, "1049") && !stristr($output, "1044") && !stristr($output, "1045")) {
|
H A D | mysqli_get_host_info.phpt | 18 if (!stristr($info, "TCP/IP"))
|
H A D | mysqli_connect_oo_warnings.phpt | 9 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
|
H A D | mysqli_stmt_get_result_non_select.phpt | 40 if (stristr($v, 'MyISAM')) {
|
H A D | bug44897.phpt | 7 if (!stristr(mysqli_get_client_info(), 'mysqlnd'))
|
H A D | mysqli_stmt_send_long_data_packet_size_libmysql.phpt | 8 if (stristr(mysqli_get_client_info(), 'mysqlnd'))
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct.phpt | 82 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 D | pdo_mysql_attr_errmode.phpt | 97 if (false === stristr($msg, (string)$v)) { 135 if (false === stristr($msg, (string)$v)) {
|
/PHP-8.0/ext/zlib/tests/ |
H A D | ob_001.phpt | 6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_005.phpt | 6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_004.phpt | 6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_gzhandler_legacy_002.phpt | 6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
H A D | ob_003.phpt | 6 if (false === stristr(PHP_SAPI, "cgi")) die("skip need sapi/cgi");
|
/PHP-8.0/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.0/ext/sockets/tests/ |
H A D | socket_strerror.phpt | 11 if (!stristr(PHP_OS, "Linux")) {
|
/PHP-8.0/ext/snmp/tests/ |
H A D | snmp_include.inc | 20 if (stristr(PHP_OS, "FreeBSD")) {
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | lstat_stat_variation6.phpt | 14 if( stristr($out, "noatime") )
|