Home
last modified time | relevance | path

Searched refs:is_string (Results 1 – 25 of 68) sorted by relevance

123

/PHP-5.3/ext/standard/tests/general_functions/
H A Dis_string.phpt2 Test is_string() function
5 /* Prototype: bool is_string ( mixed $var );
9 echo "*** Testing is_string() with valid string values ***\n";
53 /* loop to check that is_string() recognizes different
58 var_dump( is_string($string) );
61 echo "\n*** Testing is_string() on non string values ***\n";
140 var_dump( is_string($type) );
145 var_dump( is_string() );
148 var_dump( is_string("string", "test") );
158 *** Testing is_string() with valid string values ***
[all …]
/PHP-5.3/ext/filter/tests/
H A D045.phpt11 echo ($ret === 255 && is_string($a["flags"]) && $a["flags"] == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n…
14 echo ($ret === 255 && is_string($a) && $a == FILTER_FLAG_ALLOW_HEX)?"ok\n":"bug\n";
17 echo ($ret["test"] === 255 && is_string($a["test"]["filter"]) && $a["test"]["filter"] == FILTER_VAL…
18 echo ($ret["test"] === 255 && is_string($a["test"]["flags"]) && $a["test"]["flags"] == FILTER_FLAG_…
21 echo ($ret["test"] === 255 && is_string($a["test"]) && $a["test"] == FILTER_VALIDATE_INT)?"ok\n":"b…
/PHP-5.3/scripts/dev/generate-phpt/tests/
H A DgtVariationTestCaseFunctionTest.php20 $this->assertTrue(is_string($fs));
38 $this->assertTrue(is_string($fs));
55 $this->assertTrue(is_string($fs));
H A DgtBasicTestCaseFunctionTest.php21 $this->assertTrue(is_string($fs));
H A DgtErrorTestCaseFunctionTest.php23 $this->assertTrue(is_string($fs));
H A DgtVariationTestCaseMethodTest.php23 $this->assertTrue(is_string($fs));
H A DgtBasicTestCaseMethodTest.php24 $this->assertTrue(is_string($fs));
H A DgtErrorTestCaseMethodTest.php27 $this->assertTrue(is_string($fs));
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_info.phpt24 if (!is_string($tmp = mysqli_info($link)) || ('' != $tmp))
30 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
39 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
45 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
51 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
57 if (!is_string($tmp = mysqli_info($link)) || ('' != $tmp))
87 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
H A Dmysqli_error_oo.phpt25 if (!is_string($tmp) || ('' !== $tmp))
34 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp))
H A Dmysqli_get_client_info.phpt12 if (!is_string($info = mysqli_get_client_info()) || ('' === $info))
H A Dmysqli_error.phpt28 if (!is_string($tmp) || ('' !== $tmp))
37 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp))
/PHP-5.3/ext/mysql/tests/
H A Dmysql_info.phpt28 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
34 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
40 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
46 if (!is_string($tmp = mysql_info($link)) || ('' == $tmp))
54 if (!is_string($def_tmp = mysql_info()) || ('' == $def_tmp))
H A Dmysql_stat.phpt24 if ((!is_string($stat = mysql_stat($link))) || ('' === $stat))
33 if ((!is_string($stat_def = mysql_stat())) || ('' === $stat_def))
H A Dmysql_get_client_info.phpt8 if (!is_string($info = mysql_get_client_info()) || ('' === $info))
H A Dmysql_error.phpt30 if (!is_string($tmp) || ('' !== $tmp))
39 if (!is_string($tmp) || !preg_match("/Table '\w*\.test' doesn't exist/su", $tmp))
/PHP-5.3/ext/spl/tests/
H A Ddit_001_noglob.phpt10 var_dump(is_string($d));
12 var_dump(is_string($d));
H A Ddit_001.phpt10 var_dump(is_string($d));
12 var_dump(is_string($d));
/PHP-5.3/Zend/tests/
H A Dbug43651.phpt23 var_dump(is_callable("is_string"));
24 var_dump(is_callable("\\is_string"));
/PHP-5.3/ext/standard/tests/network/
H A Dgethostbyname_error001.phpt7 var_dump(is_string(gethostbyname("192.168.0.101")));
H A Dgethostbyname_error002.phpt7 var_dump(is_string(gethostbyname("1234567890")));
H A Dgethostbyname_error003.phpt7 var_dump(is_string(gethostbyname("asdfasdf")));
H A Dgethostbyname_basic001.phpt11 var_dump(is_string(gethostbyname("www.php.net")));
/PHP-5.3/ext/standard/
H A Dphp_type.h35 PHP_FUNCTION(is_string);
/PHP-5.3/ext/standard/tests/file/
H A Dstream_rfc2397_003.phpt23 if (is_string($original)) {

Completed in 19 milliseconds

123