/PHP-5.3/ext/spl/tests/ |
H A D | bug40036.phpt | 2 Bug #40036 (empty() does not work correctly with ArrayObject when using ARRAY_AS_PROPS) 17 if (empty($view['foo']) || empty($view->foo)) { 18 echo "View::foo empty\n"; 20 if (empty($view['bar']) || empty($view->bar)) { 21 echo "View::bar empty\n"; 23 if (empty($view['baz']) || empty($view->baz)) { 24 echo "View::baz empty\n"; 29 View::foo empty 30 View::bar empty 31 View::baz empty
|
H A D | bug61347.phpt | 12 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-5.3/Zend/tests/ |
H A D | bug44899_2.phpt | 2 Bug #44899 (__isset usage changes behavior of empty()) - 2 21 var_dump(empty($this->_data[$var])); 32 echo (empty($myclass->foo)) ? 'empty' : 'not empty'; 34 echo ($myclass->foo) ? 'not empty' : 'empty'; 41 empty 43 empty
|
H A D | bug44899.phpt | 2 Bug #44899 (__isset usage changes behavior of empty()) 27 echo (empty($myclass->foo)) ? 'empty' : 'not empty'; 29 echo ($myclass->foo) ? 'not empty' : 'empty'; 35 empty 38 empty
|
H A D | bug50255.phpt | 2 Bug #50255 (isset() and empty() silently casts array to object) 13 print "empty\n"; 14 var_dump(empty($arr->foo)); 15 var_dump(empty($arr->bar)); 16 var_dump(empty($arr['foo'])); 17 var_dump(empty($arr['bar'])); 26 empty
|
H A D | bug52041.phpt | 27 Strict Standards: Creating default object from empty value in %sbug52041.php on line 6 31 Strict Standards: Creating default object from empty value in %sbug52041.php on line 7 35 Strict Standards: Creating default object from empty value in %sbug52041.php on line 8 39 Strict Standards: Creating default object from empty value in %sbug52041.php on line 9 43 Strict Standards: Creating default object from empty value in %sbug52041.php on line 10 47 Strict Standards: Creating default object from empty value in %sbug52041.php on line 11
|
H A D | bug24436.phpt | 2 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";}
|
/PHP-5.3/ext/zip/tests/ |
H A D | oo_properties.phpt | 2 ziparchive::properties isset()/empty() checks 21 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse… 23 printf("zip->bogus (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->bogus, empty($zip->bogus), isset($… 28 printf("zip->status (%d):\n\tempty(): %d\n\tisset(): %d\n", $zip->status, empty($zip->status), isse… 38 empty(): 1 41 empty(): 0 46 empty(): 1 49 empty(): 1 52 empty(): 0 55 empty(): 0 [all …]
|
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-5.3/tests/lang/ |
H A D | empty_variation.phpt | 2 empty() on array elements 5 $a=array('0','empty'=>'0'); 6 var_dump(empty($a['empty'])); 7 var_dump(empty($a[0])); 9 var_dump(empty($b));
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | bug43994.phpt | 46 Warning: mb_ereg(): empty pattern in %s on line %d 50 Warning: mb_ereg(): empty pattern in %s on line %d 57 Warning: mb_ereg(): empty pattern in %s on line %d 61 Warning: mb_ereg(): empty pattern in %s on line %d 68 Warning: mb_ereg(): empty pattern in %s on line %d 72 Warning: mb_ereg(): empty pattern in %s on line %d 79 Warning: mb_ereg(): empty pattern in %s on line %d 83 Warning: mb_ereg(): empty pattern in %s on line %d 90 Warning: mb_ereg(): empty pattern in %s on line %d 94 Warning: mb_ereg(): empty pattern in %s on line %d [all …]
|
H A D | mb_convert_encoding_stateful.phpt | 10 echo "ISO-2022-JP empty segment\n"; 19 echo "ISO-2022-KR empty segment\n"; 21 echo "HZ empty segment\n"; 25 ISO-2022-JP empty segment 34 ISO-2022-KR empty segment 36 HZ empty segment
|
/PHP-5.3/ext/zlib/tests/ |
H A D | gzfile_variation3.phpt | 20 'empty string DQ' => "", 21 'empty string SQ' => '', 33 Warning: gzfile(): Filename cannot be empty in %s on line %d 36 Warning: gzfile(): Filename cannot be empty in %s on line %d 39 Warning: gzfile(): Filename cannot be empty in %s on line %d 42 Warning: gzfile(): Filename cannot be empty in %s on line %d 45 Warning: gzfile(): Filename cannot be empty in %s on line %d 48 Warning: gzfile(): Filename cannot be empty in %s on line %d
|
H A D | readgzfile_variation3.phpt | 20 'empty string DQ' => "", 21 'empty string SQ' => '', 33 Warning: readgzfile(): Filename cannot be empty in %s on line %d 36 Warning: readgzfile(): Filename cannot be empty in %s on line %d 39 Warning: readgzfile(): Filename cannot be empty in %s on line %d 42 Warning: readgzfile(): Filename cannot be empty in %s on line %d 45 Warning: readgzfile(): Filename cannot be empty in %s on line %d 48 Warning: readgzfile(): Filename cannot be empty in %s on line %d
|
H A D | gzopen_variation1.phpt | 77 'empty array' => array(), 92 // empty data 93 'empty string DQ' => "", 94 'empty string SQ' => '', 160 --empty array-- 177 Error: 2 - gzopen(): Filename cannot be empty, %s(%d) 181 Error: 2 - gzopen(): Filename cannot be empty, %s(%d) 189 Error: 2 - gzopen(): Filename cannot be empty, %s(%d) 197 Error: 2 - gzopen(): Filename cannot be empty, %s(%d) 200 --empty string DQ-- [all …]
|
/PHP-5.3/ext/dom/tests/ |
H A D | bug42082.phpt | 2 Bug #42082 (NodeList length zero should be empty) 13 var_dump(empty($nodes->length), empty($length)); 16 var_dump($doc->firstChild->nodeValue, empty($doc->firstChild->nodeValue), isset($doc->firstChild->n… 17 var_dump(empty($doc->nodeType), empty($doc->firstChild->nodeType))
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_combine_error2.phpt | 2 Test array_combine() function : error conditions - empty array 13 // Testing array_combine by passing empty arrays to $keys and $values arguments 14 echo "\n-- Testing array_combine() function with empty arrays --\n"; 17 // Testing array_combine by passing empty array to $keys 18 echo "\n-- Testing array_combine() function with empty array for \$keys argument --\n"; 21 // Testing array_combine by passing empty array to $values 22 echo "\n-- Testing array_combine() function with empty array for \$values argument --\n"; 34 -- Testing array_combine() function with empty arrays -- 39 -- Testing array_combine() function with empty array for $keys argument -- 44 -- Testing array_combine() function with empty array for $values argument --
|
H A D | var_export2.phpt | 2 var_export() and empty array keys 5 $a = array ("\0" => 'null', "" => 'empty', "0" => 'nul'); 11 '' => 'empty',
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | wordwrap_variation3.phpt | 59 // empty string 199 Warning: wordwrap(): Break string cannot be empty in %s on line %d 202 Warning: wordwrap(): Break string cannot be empty in %s on line %d 205 Warning: wordwrap(): Break string cannot be empty in %s on line %d 213 Warning: wordwrap(): Break string cannot be empty in %s on line %d 216 Warning: wordwrap(): Break string cannot be empty in %s on line %d 219 Warning: wordwrap(): Break string cannot be empty in %s on line %d 233 Warning: wordwrap(): Break string cannot be empty in %s on line %d 236 Warning: wordwrap(): Break string cannot be empty in %s on line %d 239 Warning: wordwrap(): Break string cannot be empty in %s on line %d [all …]
|
H A D | strrpos_variation7.phpt | 2 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 D | stripos_variation7.phpt | 2 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.3/ext/standard/tests/file/ |
H A D | parse_ini_file_variation4.phpt | 69 'empty array' => array(), 84 // empty data 85 'empty string DQ' => "", 86 'empty string SQ' => '', 147 --empty array-- 164 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d) 168 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d) 176 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d) 184 Error: 2 - parse_ini_file(): Filename cannot be empty!, %s(%d) 187 --empty string DQ-- [all …]
|
H A D | file_variation2.phpt | 69 'empty array' => array(), 84 // empty data 85 'empty string DQ' => "", 86 'empty string SQ' => '', 147 --empty array-- 164 Error: 2 - file(): Filename cannot be empty, %s(%d) 168 Error: 2 - file(): Filename cannot be empty, %s(%d) 176 Error: 2 - file(): Filename cannot be empty, %s(%d) 184 Error: 2 - file(): Filename cannot be empty, %s(%d) 187 --empty string DQ-- [all …]
|
/PHP-5.3/ext/standard/tests/dir/ |
H A D | readdir_variation2.phpt | 2 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.3/ext/mysqli/tests/ |
H A D | mysqli_poll_kill.phpt | 44 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 …]
|