Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 203) sorted by relevance

123456789

/PHP-7.4/ext/zip/tests/
H A Doo_stream.phpt20 $contents = '';
22 $contents .= fread($fp, 255);
27 var_dump($contents);
34 $contents = '';
36 $contents .= fread($fp, 2);
38 var_dump($contents);
H A Dpecl12414.phpt19 $contents=$za->getFromName($filename);
21 echo "ZIP contents size: " . strlen($contents) . "\n";
22 if(strlen($contents)!=$file_size) {
26 $contents=false;
H A Dbug53579.phpt20 $contents = stream_get_contents($fp);
24 var_dump($contents);
31 $contents = stream_get_contents($fp);
32 var_dump($contents);
H A Dbug7214.phpt13 $contents = zip_entry_read($entry, zip_entry_filesize($entry));
14 if (strlen($contents) == zip_entry_filesize($entry)) {
/PHP-7.4/ext/zip/examples/
H A Dfopen.php12 $contents .= fread($fp, 2);
13 echo "$contents\n";
28 $contents .= fread($fp, 2);
32 file_put_contents('t',$contents);
/PHP-7.4/ext/standard/tests/file/
H A Dfile_get_contents_variation7-win32-mb.phpt53 fwrite($h, "contents read");
74 string(%d) "contents read"
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
96 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
113 string(%d) "contents read"
H A Dfile_get_contents_variation7-win32.phpt53 fwrite($h, "contents read");
74 string(%d) "contents read"
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
96 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
113 string(%d) "contents read"
H A Dfile_variation8-win32.phpt53 fwrite($h, "contents read");
76 string(13) "contents read"
82 string(13) "contents read"
88 string(13) "contents read"
94 string(13) "contents read"
110 string(13) "contents read"
116 string(13) "contents read"
122 string(13) "contents read"
128 string(13) "contents read"
139 string(13) "contents read"
H A Dfile_variation8.phpt45 fwrite($h, "contents read");
68 string(13) "contents read"
74 string(13) "contents read"
80 string(13) "contents read"
86 string(13) "contents read"
102 string(13) "contents read"
108 string(13) "contents read"
114 string(13) "contents read"
120 string(13) "contents read"
H A Dfile_get_contents_variation7.phpt45 fwrite($h, "contents read");
66 string(%d) "contents read"
69 string(%d) "contents read"
72 string(%d) "contents read"
75 string(%d) "contents read"
88 string(%d) "contents read"
91 string(%d) "contents read"
94 string(%d) "contents read"
97 string(%d) "contents read"
H A Dbug37158.phpt27 var_dump('size of contents 1 = ' . strlen($outsidecontents));
29 var_dump('size of contents 2 = ' . strlen($outsidecontents));
36 string(26) "size of contents 1 = 20000"
37 string(26) "size of contents 2 = 40960"
H A Dfgetcsv_variation32.phpt5 $contents = <<<EOS
11 fwrite($stream, $contents);
/PHP-7.4/ext/imap/tests/
H A Dbug80215.phpt15 "contents.data" => 4,
19 "contents.data" => 7,
41 ["contents.data"]=>
56 ["contents.data"]=>
H A Dbug31142_1.phpt23 $part2["contents.data"] = "ABC";
28 $part3["contents.data"] = "contents.data3\n\n\n\t";
55 contents.data3
H A Dbug40854.phpt22 $part2["contents.data"] = '';
27 $part3["contents.data"] = "contents.data3\n\n\n\t";
53 contents.data3
/PHP-7.4/ext/phar/tests/
H A Dphar_oo_getcontents.phpt12 $phar['a/b'] = 'file contents
34 file contents
36 Phar error: Cannot retrieve contents, "a" in phar "%sphar_oo_getcontents.phar.php" is a directory
37 Phar error: Cannot retrieve contents, "hi" in phar "%sphar_oo_getcontents.phar.php" is a directory
/PHP-7.4/ext/standard/tests/dir/
H A Ddir_variation3.phpt69 echo "-- reading contents --\n";
95 -- reading contents --
106 -- reading contents --
117 -- reading contents --
128 -- reading contents --
139 -- reading contents --
150 -- reading contents --
161 -- reading contents --
172 -- reading contents --
183 -- reading contents --
[all …]
H A Dreaddir_variation3.phpt34 $contents[] = $file;
37 // more important to check that all contents are present than order they are returned in
38 sort($contents);
39 var_dump($contents);
H A Dreaddir_variation3-win32-mb.phpt40 $contents[] = $file;
43 // more important to check that all contents are present than order they are returned in
44 sort($contents);
45 var_dump($contents);
/PHP-7.4/tests/output/
H A Dob_get_contents_basic_001.phpt8 * Description: Return the contents of the output buffer
36 echo "\ncheck that contents disappear after a flush\n";
43 echo "\ncheck that no contents found after an end\n";
66 check that contents disappear after a flush
70 check that no contents found after an end
/PHP-7.4/ext/standard/tests/strings/
H A Dstr_getcsv_002.phpt5 $contents = <<<EOS
8 print_r(str_getcsv($contents, ',', '"', ''));
/PHP-7.4/ext/spl/tests/
H A DSplFileObject_fgetcsv_escape_empty.phpt5 $contents = <<<EOS
11 $file->fwrite($contents);
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug70157.phpt6 $contents = <<<EOS
13 var_dump(parse_ini_string($contents, false, INI_SCANNER_TYPED));
/PHP-7.4/ext/standard/tests/array/
H A Darray_walk_basic2.phpt46 echo "-- Using array_walk with default parameters to show array contents --\n";
49 echo "-- Using array_walk with one optional parameter to modify contents --\n";
52 echo "-- Using array_walk with default parameters to show modified array contents --\n";
59 -- Using array_walk with default parameters to show array contents --
73 -- Using array_walk with one optional parameter to modify contents --
91 -- Using array_walk with default parameters to show modified array contents --
H A Darray_walk_recursive_basic2.phpt46 echo "-- Using array_walk_recursive with default parameters to show array contents --\n";
49 echo "-- Using array_walk_recursive with one optional parameter to modify contents --\n";
52 echo "-- Using array_walk_recursive with default parameters to show modified array contents --\n";
59 -- Using array_walk_recursive with default parameters to show array contents --
73 -- Using array_walk_recursive with one optional parameter to modify contents --
91 -- Using array_walk_recursive with default parameters to show modified array contents --

Completed in 37 milliseconds

123456789