Home
last modified time | relevance | path

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

12345678910>>...40

/php-src/ext/tidy/tests/
H A Dgh12980.phpt2 GH-12980 (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes)
7 $html = '<!DOCTYPE html><html lang="en" boolean empty="" selected="selected"></html>';
18 <html lang="en" boolean="" empty="" selected="selected">
30 ["empty"]=>
/php-src/Zend/tests/
H A Dillegal_offset_unset_isset_empty.phpt2 Using unset(), isset(), empty() with an illegal array offset throws
18 empty($ary[[]]);
26 Cannot access offset of type array in isset or empty
27 Cannot access offset of type array in isset or empty
/php-src/ext/standard/tests/array/
H A Darray_multisort_variation11.phpt2 Test array_multisort() function : usage variation - testing with empty array
5 echo "*** Testing array_multisort() : Testing with empty array ***\n";
11 *** Testing array_multisort() : Testing with empty array ***
H A Darray_key_exists_variation8.phpt51 // empty data
52 /*5*/ 'empty double quotes' => array(
55 'empty single quotes' => array(
113 -- $key arguments are empty double quotes data:
115 -- $key arguments are empty single quotes data:
142 -- $key arguments are empty double quotes data:
144 -- $key arguments are empty single quotes data:
171 -- $key arguments are empty double quotes data:
173 -- $key arguments are empty single quotes data:
242 -- Iteration 6: empty double quotes data --
[all …]
/php-src/Zend/tests/property_hooks/
H A Disset.phpt2 isset() and empty() call get property hook
17 var_dump(!empty($test->prop1));
21 var_dump(!empty($test->prop1));
25 var_dump(!empty($test->prop1));
/php-src/ext/simplexml/tests/
H A Diterator_interaction_empty_and_var_dump.phpt2 Test iterator interaction with empty and var_dump
24 echo "--- empty ---\n";
29 var_dump(empty($first));
45 --- empty ---
/php-src/ext/dom/tests/modern/spec/
H A DNode_isDefaultNamespace.phpt25 echo "empty NS: ";
37 echo "--- empty fragment ---\n";
62 empty NS: bool(false)
67 empty NS: bool(false)
72 empty NS: bool(false)
77 empty NS: bool(false)
78 --- empty fragment ---
82 empty NS: bool(true)
87 empty NS: bool(true)
92 empty NS: bool(true)
/php-src/ext/dom/tests/modern/token_list/
H A Ddimensions.phpt13 var_dump($list[$i], isset($list[$i]), empty($list[$i]));
17 var_dump($list["0"], isset($list["0"]), empty($list["0"]));
21 var_dump($list["foo"], isset($list["foo"]), empty($list["foo"]));
27 var_dump($list[1.1], isset($list[1.1]), empty($list[1.1]));
30 var_dump($list[true], isset($list[true]), empty($list[true]));
33 var_dump($list[false], isset($list[false]), empty($list[false]));
38 var_dump($list[$ref], isset($list[$ref]), empty($list[$ref]));
/php-src/ext/spl/tests/SplObjectStorage/
H A DSplObjectStorage_coalesce.phpt16 var_dump(empty($s[$o1]));
19 var_dump(empty($s[$o2]));
22 echo "check isset/empty/contains for null. offsetExists returns true as long as the entry is there.…
24 var_dump(empty($s[$o2]));
26 echo "check isset/empty/contains for false.\n";
29 var_dump(empty($s[$o2]));
59 check isset/empty/contains for null. offsetExists returns true as long as the entry is there.
63 check isset/empty/contains for false.
/php-src/Zend/tests/nullsafe_operator/
H A D030.phpt13 var_dump(empty($null?->method()));
15 var_dump(empty($test?->method(false)));
16 var_dump(empty($test?->method(42)));
/php-src/ext/standard/tests/strings/
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";
25 -- 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-src/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));
/php-src/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() --
/php-src/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-src/ext/pdo/tests/
H A Dbug_60665.phpt2 PDO Common: Bug #60665 (call to empty() on NULL result using PDO::FETCH_LAZY returns false)
26 empty($row->null_value),
27 empty($row->zero),
28 !empty($row->one),
29 empty($row->missing),
/php-src/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_empty_filename.phpt2 PDO_sqlite: Testing empty filename
8 // create with empty filename
13 // create with empty URI
/php-src/ext/standard/tests/file/
H A Dfgetcsv_error_conditions.phpt30 echo 'fgetcsv() with delimiter as empty string' . \PHP_EOL;
37 echo 'fgetcsv() with enclosure as empty string' . \PHP_EOL;
44 echo 'fgetcsv() with delimiter & enclosure as empty string' . \PHP_EOL;
56 fgetcsv() with delimiter as empty string
58 fgetcsv() with enclosure as empty string
60 fgetcsv() with delimiter & enclosure as empty string
/php-src/ext/xmlwriter/tests/
H A D012.phpt20 xmlwriter_start_element($xw, 'empty');
23 // Force to write and empty the buffer
33 <empty></empty>
H A DOO_011.phpt21 $xw->startElement('empty');
24 // Force to write and empty the buffer
34 <empty></empty>
/php-src/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');

Completed in 24 milliseconds

12345678910>>...40