Home
last modified time | relevance | path

Searched refs:empty (Results 26 – 50 of 1348) sorted by relevance

12345678910>>...54

/PHP-7.1/ext/standard/tests/network/
H A Dbug73594.phpt13 // skip empty and header lines
16 if (empty($out)) die("skip local resolver does not return additional records");
24 var_dump(!empty($res) && empty($additional));
H A Dbug73594a.phpt13 // skip empty and header lines
16 if (empty($out)) die("skip local resolver does not return authority records");
23 var_dump(!empty($res) && empty($auth));
H A Dbug69523.phpt2 setcookie() allows empty cookie name
8 Warning: Cookie names must not be empty in %s on line %d
H A Dbug41347.phpt2 dns_check_record() segfault with empty host
8 Warning: dns_check_record(): Host cannot be empty in %s on line %d
/PHP-7.1/ext/pdo/tests/
H A Dbug_60665.phpt2 PDO Common: Bug #60665 (call to empty() on NULL result using PDO::FETCH_LAZY returns false)
25 empty($row->null_value),
26 empty($row->zero),
27 !empty($row->one),
28 empty($row->missing),
/PHP-7.1/ext/standard/tests/strings/
H A Dstrrpos_variation7.phpt2 Test strrpos() function : usage variations - empty heredoc string for 'haystack' argument
10 /* Test strrpos() function by passing empty heredoc string for haystack
15 echo "-- With empty heredoc string --\n";
27 -- With empty heredoc string --
H A Dstripos_variation7.phpt2 Test stripos() function : usage variations - empty heredoc string for 'haystack' argument
10 /* Test stripos() function by passing empty heredoc string for haystack
15 echo "-- With empty heredoc string --\n";
27 -- With empty heredoc string --
/PHP-7.1/ext/spl/tests/
H A Dbug61347.phpt12 var_dump(empty($b['b'])); //true
13 var_dump(empty($b[37])); //true
23 var_dump(empty($b['b'])); //true
24 var_dump(empty($b[37])); //true
/PHP-7.1/ext/standard/tests/dir/
H A Dreaddir_variation2.phpt2 Test readdir() function : usage variations - empty directories
11 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
20 echo "\n-- Pass an empty directory to readdir() --\n";
45 -- Pass an empty directory to readdir() --
H A Dreaddir_variation2-win32-mb.phpt2 Test readdir() function : usage variations - empty directories
17 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
26 echo "\n-- Pass an empty directory to readdir() --\n";
51 -- Pass an empty directory to readdir() --
/PHP-7.1/ext/xmlwriter/tests/
H A D012.phpt24 xmlwriter_start_element($xw, 'empty');
27 // Force to write and empty the buffer
37 <empty></empty>
H A DOO_011.phpt25 $xw->startElement('empty');
28 // Force to write and empty the buffer
38 <empty></empty>
/PHP-7.1/ext/zip/tests/
H A Dbug40228-mb.phpt2 Bug #40228 (extractTo does not create recursive empty path)
12 if (is_dir($dest . '/test/empty')) {
14 rmdir($dest . '/test/empty');
H A Dbug40228.phpt2 Bug #40228 (extractTo does not create recursive empty path)
12 if (is_dir($dest . '/test/empty')) {
14 rmdir($dest . '/test/empty');
/PHP-7.1/Zend/tests/
H A Dbug24436.phpt2 Bug #24436 (isset()/empty() produce errors with non-existent variables in classes)
11 if (empty($this->test[0][0])) { print "test1\n";}
13 if (empty($this->test)) { print "test1\n";}
H A Dindirect_call_string_002.phpt2 Indirect call with empty class and/or method name.
21 // Test array syntax with empty class name
29 // Test Class::method syntax with empty class name
37 // Test array syntax with empty class and method name
45 // Test Class::method syntax with empty class and method name
H A Dlist_012.phpt2 Disallow empty elements in normal arrays
10 Fatal error: Cannot use empty array elements in arrays in %s on line %d
H A Dlist_013.phpt2 Disallow tail empty elements in normal arrays
10 Fatal error: Cannot use empty array elements in arrays in %s on line %d
/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_poll_kill.phpt44 if (!is_array($links) || empty($links))
45 printf("[004] Expecting non-empty array got %s/%s\n", gettype($links), var_export($links, true));
58 if (!is_array($errors) || !empty($errors))
61 if (!is_array($reject) || !empty($reject))
62 printf("[007] Expecting empty array got %s/%s\n", gettype($reject), var_export($reject, true));
72 if (!empty($errors))
100 if (!empty($errors)) {
115 if (!empty($reject)) {
160 if (!is_array($links) || empty($links))
175 if (!is_array($errors) || !empty($errors))
[all …]
/PHP-7.1/ext/oci8/tests/
H A Darray_bind_013.phpt2 oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
29 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
32 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
35 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
/PHP-7.1/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt69 // empty data
70 /*5*/ 'empty double quotes' => array(
73 'empty single quotes' => array(
138 -- $key arguments are empty double quotes data:
140 -- $key arguments are empty single quotes data:
174 -- $key arguments are empty double quotes data:
176 -- $key arguments are empty single quotes data:
210 -- $key arguments are empty double quotes data:
212 -- $key arguments are empty single quotes data:
367 -- Iteration 8: empty double quotes data --
[all …]
H A Darray_multisort_variation11.phpt2 Test array_multisort() function : usage variation - testing with empty array
11 echo "*** Testing array_multisort() : Testing with empty array ***\n";
19 *** Testing array_multisort() : Testing with empty array ***
/PHP-7.1/ext/standard/tests/file/
H A Dfile_put_contents_variation2.phpt72 'empty array' => array(),
87 // empty data
88 'empty string DQ' => "",
89 'empty string SQ' => '',
134 --empty array--
156 --empty string DQ--
158 --empty string SQ--
/PHP-7.1/scripts/dev/generate-phpt/src/codeSnippets/
H A DemptyUnsetUndefNull.txt7 'empty string DQ' => "",
8 'empty string SQ' => '',
/PHP-7.1/ext/simplexml/tests/
H A Dbug67572.phpt11 var_dump(empty($foo));
18 var_dump(empty($value));
24 var_dump(empty($value));

Completed in 66 milliseconds

12345678910>>...54