Home
last modified time | relevance | path

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

12345678910>>...36

/PHP-8.0/ext/standard/tests/network/
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 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 Dbug69523.phpt2 setcookie() allows empty cookie name
12 setcookie(): Argument #1 ($name) cannot be empty
/PHP-8.0/ext/standard/tests/strings/
H A Dstripos_variation7.phpt2 Test stripos() function : usage variations - empty heredoc string for 'haystack' argument
5 /* Test stripos() function by passing empty heredoc string for haystack
10 echo "-- With empty heredoc string --\n";
27 -- With empty heredoc string --
H A Dstrrpos_variation7.phpt2 Test strrpos() function : usage variations - empty heredoc string for 'haystack' argument
5 /* Test strrpos() function by passing empty heredoc string for haystack
10 echo "-- With empty heredoc string --\n";
26 -- With empty heredoc string --
H A Dstrtr_empty_search_string.phpt2 strtr() trying to replace an empty string
11 Warning: strtr(): Ignoring replacement of empty string in %s on line %d
14 Warning: strtr(): Ignoring replacement of empty string in %s on line %d
H A Dstrpbrk_error.phpt7 echo "-- Testing strpbrk() function with empty second argument --\n";
16 -- Testing strpbrk() function with empty second argument --
17 strpbrk(): Argument #2 ($characters) must be a non-empty string
/PHP-8.0/ext/standard/tests/dir/
H A Dreaddir_variation2.phpt2 Test readdir() function : usage variations - empty directories
6 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
15 echo "\n-- Pass an empty directory to readdir() --\n";
39 -- Pass an empty directory to readdir() --
H A Dreaddir_variation2-win32-mb.phpt2 Test readdir() function : usage variations - empty directories
12 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
21 echo "\n-- Pass an empty directory to readdir() --\n";
45 -- Pass an empty directory to readdir() --
H A Dbug41693.phpt2 Bug #41693 (scandir() allows empty directory names)
14 scandir(): Argument #1 ($directory) cannot be empty
/PHP-8.0/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-8.0/ext/spl/tests/
H A Dbug66834.phpt56 var_dump($object->offsetExists('foo'), isset($object['foo']), empty($object['foo']));
57 var_dump($object->offsetExists('bar'), isset($object['bar']), empty($object['bar']));
58 var_dump($object->offsetexists('baz'), isset($object['baz']), empty($object['baz']));
59 var_dump($object->offsetexists('qux'), isset($object['qux']), empty($object['qux']));
63 var_dump($object->offsetExists('foo'), isset($object['foo']), empty($object['foo']));
64 var_dump($object->offsetExists('bar'), isset($object['bar']), empty($object['bar']));
65 var_dump($object->offsetexists('baz'), isset($object['baz']), empty($object['baz']));
66 var_dump($object->offsetexists('qux'), isset($object['qux']), empty($object['qux']));
70 var_dump($object->offsetExists('foo'), isset($object['foo']), empty($object['foo']));
71 var_dump($object->offsetExists('bar'), isset($object['bar']), empty($object['bar']));
[all …]
H A Dbug61347.phpt12 var_dump(empty($b['b'])); //true
13 var_dump(empty($b[37])); //true
22 var_dump(empty($b['b'])); //true
23 var_dump(empty($b[37])); //true
/PHP-8.0/Zend/tests/
H A Dbug24436.phpt2 Bug #24436 (isset()/empty() produce errors with non-existent variables in classes)
9 if (empty($this->test[0][0])) { print "test1\n";}
11 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
/PHP-8.0/ext/xmlwriter/tests/
H A D012.phpt22 xmlwriter_start_element($xw, 'empty');
25 // Force to write and empty the buffer
35 <empty></empty>
H A DOO_011.phpt23 $xw->startElement('empty');
26 // Force to write and empty the buffer
36 <empty></empty>
/PHP-8.0/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');
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');
/PHP-8.0/ext/standard/tests/filters/
H A D001.phpt28 stream_filter_register(): Argument #1 ($filter_name) must be a non-empty string
29 stream_filter_register(): Argument #2 ($class) must be a non-empty string
30 stream_filter_register(): Argument #1 ($filter_name) must be a non-empty string
/PHP-8.0/ext/standard/tests/file/
H A Dfile_put_contents_variation2.phpt66 'empty array' => array(),
81 // empty data
82 'empty string DQ' => "",
83 'empty string SQ' => '',
127 --empty array--
149 --empty string DQ--
151 --empty string SQ--
H A Dreadfile_error.phpt17 var_dump( readfile('') ); // empty string as $filename
37 Path cannot be empty
38 Path cannot be empty
39 Path cannot be empty
/PHP-8.0/ext/oci8/tests/
H A Darray_bind_013.phpt2 oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array
33 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
36 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
39 Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line…
/PHP-8.0/ext/filter/tests/
H A Dbug52209.phpt5 /* This test makes no sense on windows as an empty variable
10 if (empty($_ENV['PWD'])) die('skip PWD is empty');

Completed in 34 milliseconds

12345678910>>...36