Home
last modified time | relevance | path

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

123

/PHP-7.0/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-7.0/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-7.0/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-7.0/ext/standard/tests/random/
H A Drandom_bytes.phpt9 var_dump(is_string(random_bytes(10)));
11 var_dump(is_string(random_bytes(257)));
/PHP-7.0/Zend/tests/
H A Dbug69315.phpt4 disable_functions=strlen,defined,call_user_func,constant,is_string
14 var_dump(is_string("xxx"));
32 Warning: is_string() has been disabled for security reasons in %sbug69315.php on line %d
H A Dbug43651.phpt23 var_dump(is_callable("is_string"));
24 var_dump(is_callable("\\is_string"));
/PHP-7.0/ext/pdo/tests/
H A Dbug_64172.phpt26 var_dump(is_string($db->errorInfo()[0])) . "\n";
28 var_dump(is_string($db->errorInfo()[2])) . "\n";
39 var_dump(is_string($db->errorInfo()[0])) . "\n";
41 var_dump(is_string($db->errorInfo()[2])) . "\n";
/PHP-7.0/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-7.0/ext/mysqli/tests/
H A Dmysqli_info.phpt30 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
40 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
46 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
52 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
88 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))
H A Dmysqli_get_server_info.phpt20 if (!is_string($info = mysqli_get_server_info($link)) || ('' === $info))
/PHP-7.0/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.phpt12 var_dump(is_string(gethostbyname("www.php.net")));
/PHP-7.0/ext/standard/
H A Dphp_type.h36 PHP_FUNCTION(is_string);
/PHP-7.0/ext/standard/tests/file/
H A Dstream_rfc2397_003.phpt23 if (is_string($original)) {

Completed in 23 milliseconds

123