/PHP-7.2/ext/standard/tests/strings/ |
H A D | stristr_error.phpt | 2 Test stristr() function : error conditions 9 echo "*** Testing stristr() : error conditions ***\n"; 12 var_dump( stristr() ); 13 var_dump( stristr("") ); 23 var_dump( stristr(NULL, "") ); 26 var_dump( stristr("Hello World", "") ); 31 *** Testing stristr() : error conditions *** 33 -- Testing stristr() function with no arguments -- 41 -- Testing stristr() function with no needle -- 53 Warning: stristr(): Empty needle in %s on line %d [all …]
|
H A D | stristr.phpt | 2 stristr() function 5 var_dump(stristr()); 6 var_dump(stristr(array(), "")); 7 var_dump(stristr("", array())); 8 var_dump(stristr(array(), array())); 9 var_dump(stristr("tEsT sTrInG", "tEsT")); 13 var_dump(stristr("tEsT sTrInG", "g")); 15 var_dump(@stristr("", "")); 16 var_dump(@stristr("a", "")); 17 var_dump(@stristr("", "a")); [all …]
|
H A D | stristr_basic.phpt | 2 Test stristr() function : basic functionality 11 var_dump( stristr("Test string", "teSt") ); 12 var_dump( stristr("test stRIng", "striNG") ); 13 var_dump( stristr("teST StrinG", "stRIn") ); 14 var_dump( stristr("tesT string", "t S") ); 15 var_dump( stristr("test strinG", "g") ); 17 var_dump( stristr("tEst", "test") ); 18 var_dump( stristr("teSt", "test") ); 20 var_dump( stristr("Test String", "String", false) ); 21 var_dump( stristr("Test String", "String", true) ); [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_variation1.phpt | 2 Test stristr() function : usage variations - test values for $haystack argument 6 /* Prototype: string stristr ( string $haystack, string $needle ); 10 echo "*** Testing stristr() function: with unexpected inputs for 'string' argument ***\n"; 71 // loop through with each element of the $inputs array to test stristr() function 75 var_dump( stristr($input, " ") ); 84 *** Testing stristr() function: with unexpected inputs for 'string' argument *** 101 Warning: stristr() expects parameter 1 to be string, array given in %s on line %d2 105 Warning: stristr() expects parameter 1 to be string, array given in %s on line %d2 109 Warning: stristr() expects parameter 1 to be string, array given in %s on line %d2 127 Warning: stristr() expects parameter 1 to be string, resource given in %s on line %d2
|
H A D | stristr_variation2.phpt | 2 Test stristr() function : usage variations - test values for $needle argument 6 /* Prototype: string stristr ( string $haystack, string $needle ); 10 echo "*** Testing stristr() function: with unexpected inputs for 'needle' argument ***\n"; 71 // loop through with each element of the $inputs array to test stristr() function 75 var_dump( stristr("Hello World", $input) ); 84 *** Testing stristr() function: with unexpected inputs for 'needle' argument *** 101 Warning: stristr(): needle is not a string or an integer in %s on line %d 105 Warning: stristr(): needle is not a string or an integer in %s on line %d 109 Warning: stristr(): needle is not a string or an integer in %s on line %d 129 Warning: stristr(): needle is not a string or an integer in %s on line %d
|
/PHP-7.2/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")) 65 if (!stristr($phpinfo, $entry))
|
H A D | mysqli_constants_categories.phpt | 14 if (stristr($name, 'mysqli')) {
|
H A D | mysqli_select_db.phpt | 78 if (!stristr($output, "1049") && !stristr($output, "1044") && !stristr($output, "1045")) {
|
H A D | mysqli_get_host_info.phpt | 25 if (!stristr($info, "TCP/IP"))
|
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 | 41 if (stristr('MyISAM', $v)) {
|
/PHP-7.2/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')) 153 if (!stristr($tmp, '42000') && !stristr($tmp, '1049')) 164 if (PDO_MYSQL_TEST_SOCKET && (stristr(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_SOCKET) !== false)) { 171 if (!stristr($tmp, 'HY000') && !stristr($tmp, '2002')) 219 if (!stristr($tmp, 'sqlstatecode') || !stristr($tmp, 'mysqlinternalerrcode'))
|
H A D | pdo_mysql_attr_errmode.phpt | 99 if (false === stristr($msg, (string)$v)) { 137 if (false === stristr($msg, (string)$v)) {
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | mb_get_info.phpt | 55 ["stristr"]=> 119 ["stristr"]=> 145 ["stristr"]=>
|
/PHP-7.2/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-7.2/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-7.2/ext/standard/tests/file/ |
H A D | lstat_stat_variation6.phpt | 6 if (!(stristr(PHP_OS, 'linux'))) { 13 if( stristr($out, "noatime") )
|
H A D | copy_variation5.phpt | 5 if( (stristr(PHP_OS, "Darwin")) || (stristr(PHP_OS, "Win")) )
|
/PHP-7.2/ext/snmp/tests/ |
H A D | snmp_include.inc | 20 if (stristr(PHP_OS, "FreeBSD")) {
|