/PHP-8.2/Zend/tests/nullsafe_operator/ |
H A D | 030.phpt | 13 var_dump(empty($null?->method())); 15 var_dump(empty($test?->method(false))); 16 var_dump(empty($test?->method(42)));
|
/PHP-8.2/ext/standard/tests/dir/ |
H A D | readdir_variation2.phpt | 2 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 D | readdir_variation2-win32-mb.phpt | 2 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-8.2/ext/standard/tests/strings/ |
H A D | strrpos_variation7.phpt | 2 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 D | strtr_empty_search_string.phpt | 2 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 D | strpbrk_error.phpt | 7 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.2/ext/standard/tests/network/ |
H A D | bug73594a.phpt | 13 // 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 D | bug73594.phpt | 13 // 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-8.2/ext/standard/tests/array/ |
H A D | array_key_exists_variation8.phpt | 51 // 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-8.2/ext/spl/tests/ |
H A D | bug66834.phpt | 56 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 D | bug61347.phpt | 12 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
|
H A D | fixedarray_003.phpt | 128 echo 'empty()', \PHP_EOL; 129 var_dump(empty($o[false])); 130 var_dump(empty($o[true])); 131 var_dump(empty($o[2.5])); 134 var_dump(empty($o[[]])); 144 var_dump(empty($o[$r])); 149 var_dump(empty($o['3'])); 152 var_dump(empty($o['3.5'])); 157 var_dump(empty($o['03'])); 162 var_dump(empty($o[' 3'])); [all …]
|
/PHP-8.2/ext/pdo/tests/ |
H A D | bug_60665.phpt | 2 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-8.2/ext/standard/tests/file/ |
H A D | fgetcsv_error_conditions.phpt | 30 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
|
H A D | file_put_contents_variation2.phpt | 66 '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--
|
/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_empty_filename.phpt | 2 PDO_sqlite: Testing empty filename 8 // create with empty filename 13 // create with empty URI
|
/PHP-8.2/ext/xmlwriter/tests/ |
H A D | 012.phpt | 20 xmlwriter_start_element($xw, 'empty'); 23 // Force to write and empty the buffer 33 <empty></empty>
|
H A D | OO_011.phpt | 21 $xw->startElement('empty'); 24 // Force to write and empty the buffer 34 <empty></empty>
|
/PHP-8.2/ext/zip/tests/ |
H A D | bug40228-mb.phpt | 2 Bug #40228 (extractTo does not create recursive empty path) 12 if (is_dir($dest . '/test/empty')) { 14 rmdir($dest . '/test/empty');
|
H A D | bug40228.phpt | 2 Bug #40228 (extractTo does not create recursive empty path) 12 if (is_dir($dest . '/test/empty')) { 14 rmdir($dest . '/test/empty');
|
/PHP-8.2/Zend/tests/ |
H A D | bug24436.phpt | 2 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";}
|
/PHP-8.2/ext/oci8/tests/ |
H A D | array_bind_013.phpt | 2 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.2/ext/filter/tests/ |
H A D | bug52209.phpt | 7 /* This test makes no sense on windows as an empty variable 11 if (empty($_ENV['PWD'])) die('skip PWD is empty');
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_poll_kill.phpt | 40 if (!is_array($links) || empty($links)) 41 … printf("[004] Expecting non-empty array got %s/%s\n", gettype($links), var_export($links, true)); 54 if (!is_array($errors) || !empty($errors)) 57 if (!is_array($reject) || !empty($reject)) 58 … printf("[007] Expecting empty array got %s/%s\n", gettype($reject), var_export($reject, true)); 68 if (!empty($errors)) 96 if (!empty($errors)) { 111 if (!empty($reject)) { 156 if (!is_array($links) || empty($links)) 171 if (!is_array($errors) || !empty($errors)) [all …]
|
/PHP-8.2/ext/standard/tests/filters/ |
H A D | 001.phpt | 28 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
|