Home
last modified time | relevance | path

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

123

/PHP-7.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-7.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-7.3/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.3/Zend/tests/
H A Dbug69315.phpt4 disable_functions=strlen,defined,call_user_func,constant,is_string
14 var_dump(is_string("xxx"));
31 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.3/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.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-7.3/ext/mysqli/tests/
H A Dmysqli_info.phpt32 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
38 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
44 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
50 if (!is_string($tmp = mysqli_info($link)) || ('' == $tmp))
86 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.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.phpt12 var_dump(is_string(gethostbyname("www.php.net")));
/PHP-7.3/ext/opcache/tests/opt/
H A Dsccp_030.phpt13 var_dump(is_string(sys_get_temp_dir()));
/PHP-7.3/ext/pdo_dblib/tests/
H A Ddbversion.phpt13 var_dump(is_string($version) && strlen($version));
H A Ddbtds.phpt13 var_dump((is_string($version) && strlen($version)) || $version === false);
/PHP-7.3/ext/standard/
H A Dphp_type.h34 PHP_FUNCTION(is_string);
/PHP-7.3/ext/shmop/tests/
H A Dshmop_open_private.phpt17 var_dump(is_string($read) && $read !== $write);
/PHP-7.3/ext/intl/tests/
H A Duconverter_getstandards_basic.phpt15 assertTrue(array_reduce($standards, function($carry, $item) { return $carry && is_string($item); },…
/PHP-7.3/ext/standard/tests/file/
H A Dstream_rfc2397_003.phpt23 if (is_string($original)) {
H A Dbug24482.phpt20 while (is_string($file = readdir($dh))) {

Completed in 26 milliseconds

123