Home
last modified time | relevance | path

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

12345678910>>...53

/PHP-5.5/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-5.5/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() --
/PHP-5.5/ext/zip/tests/
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-5.5/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))
99 if (!empty($errors)) {
109 if (!empty($reject)) {
149 if (!is_array($links) || empty($links))
164 if (!is_array($errors) || !empty($errors))
[all …]
/PHP-5.5/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 D019.phpt2 Test unset(), empty() and isset() functions
8 Prototype: bool empty( mixed $var );
59 var_dump( empty($scalar_var) );
70 // empty to check if empty, expecting bool(true)
71 var_dump( empty($scalar_var) );
148 // empty() to see if the array is empty
289 // check using isset and empty
291 var_dump( empty($static_var) );
296 // check using isset and empty
298 var_dump( empty($static_var) );
[all …]
/PHP-5.5/ext/standard/tests/strings/
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-5.5/ext/standard/tests/array/
H A Darray_key_exists_variation8.phpt69 // empty data
70 /*5*/ 'empty double quotes' => array(
73 'empty single quotes' => array(
139 -- $key arguments are empty double quotes data:
141 -- $key arguments are empty single quotes data:
175 -- $key arguments are empty double quotes data:
177 -- $key arguments are empty single quotes data:
211 -- $key arguments are empty double quotes data:
213 -- $key arguments are empty single quotes data:
368 -- 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-5.5/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-5.5/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--
H A Ddirname_variation1.phpt68 'empty array' => array(),
83 // empty data
84 'empty string DQ' => "",
85 'empty string SQ' => '',
137 --empty array--
171 --empty string DQ--
174 --empty string SQ--
H A Dbasename_variation3.phpt64 'empty array' => array(),
79 // empty data
80 'empty string DQ' => "",
81 'empty string SQ' => '',
133 --empty array--
167 --empty string DQ--
170 --empty string SQ--
H A Dfwrite_variation5.phpt72 'empty array' => array(),
87 // empty data
88 'empty string DQ' => "",
89 'empty string SQ' => '',
136 --empty array--
160 --empty string DQ--
162 --empty string SQ--
H A Dpathinfo_variation1.phpt69 'empty array' => array(),
84 // empty data
85 'empty string DQ' => "",
86 'empty string SQ' => '',
138 --empty array--
172 --empty string DQ--
175 --empty string SQ--
/PHP-5.5/scripts/dev/generate-phpt/src/codeSnippets/
H A DemptyUnsetUndefNull.txt7 'empty string DQ' => "",
8 'empty string SQ' => '',
/PHP-5.5/ext/standard/tests/network/
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-5.5/ext/simplexml/tests/
H A Dbug67572.phpt11 var_dump(empty($foo));
18 var_dump(empty($value));
24 var_dump(empty($value));
/PHP-5.5/ext/openssl/tests/
H A D023.phpt22 $empty = "";
30 var_dump(openssl_pkcs7_encrypt($empty, $outfile, $single_cert, $headers));
31 var_dump(openssl_pkcs7_encrypt($infile, $empty, $single_cert, $headers));
33 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $empty, $headers));
34 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $empty));
H A D024.phpt21 $empty = "";
29 var_dump(openssl_pkcs7_decrypt($empty, $outfile, $single_cert, $privkey));
30 var_dump(openssl_pkcs7_decrypt($encrypted, $empty, $single_cert, $privkey));
31 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $empty, $privkey));
32 var_dump(openssl_pkcs7_decrypt($encrypted, $outfile, $single_cert, $empty));
/PHP-5.5/ext/spl/tests/
H A Darray_010.phpt11 var_dump(empty($obj[0]));
12 var_dump(empty($obj[1]));
13 var_dump(empty($obj[2]));
14 var_dump(empty($obj['4th']));
15 var_dump(empty($obj['5th']));
16 var_dump(empty($obj[6]));
/PHP-5.5/ext/standard/tests/general_functions/
H A Dintval_variation1.phpt67 'empty array' => array(),
82 // empty data
83 'empty string DQ' => "",
84 'empty string SQ' => '',
142 --empty array--
172 --empty string DQ--
175 --empty string SQ--
/PHP-5.5/ext/standard/tests/class_object/
H A Dget_class_vars_variation1.phpt55 'empty array' => array(),
70 // empty data
71 'empty string DQ' => "",
72 'empty string SQ' => '',
124 --empty array--
162 --empty string DQ--
165 --empty string SQ--
H A Dinterface_exists_variation1.phpt58 'empty array' => array(),
73 // empty data
74 'empty string DQ' => "",
75 'empty string SQ' => '',
127 --empty array--
165 --empty string DQ--
168 --empty string SQ--

Completed in 53 milliseconds

12345678910>>...53