Home
last modified time | relevance | path

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

1234567

/PHP-8.0/ext/spl/tests/
H A DSplFileObject_key_fgets_and_seek.phpt15 ['line' => $file->key(), 'contents' => trim($file->fgets())],
16 ['line' => $file->key(), 'contents' => trim($file->fgets())],
17 ['line' => $file->key(), 'contents' => trim($file->fgets())],
25 ["contents"]=>
31 ["contents"]=>
37 ["contents"]=>
H A DSplFileObject_fgetcsv_escape_empty.phpt5 $contents = <<<EOS
11 $file->fwrite($contents);
/PHP-8.0/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);
/PHP-8.0/ext/opcache/tests/
H A Dfunc_info.phpt12 $contents = "<?php\n";
14 $contents .= "function test() {\n";
19 $contents .= " \$result = {$function}();\n";
21 $contents .= "}\n";
23 file_put_contents("func_info_generated.php", $contents);
/PHP-8.0/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-8.0/ext/standard/tests/file/
H A Dfile_get_contents_variation7-win32.phpt47 fwrite($h, "contents read");
68 string(%d) "contents read"
71 string(%d) "contents read"
74 string(%d) "contents read"
77 string(%d) "contents read"
90 string(%d) "contents read"
93 string(%d) "contents read"
96 string(%d) "contents read"
99 string(%d) "contents read"
107 string(%d) "contents read"
H A Dfile_variation8-win32.phpt47 fwrite($h, "contents read");
70 string(13) "contents read"
76 string(13) "contents read"
82 string(13) "contents read"
88 string(13) "contents read"
104 string(13) "contents read"
110 string(13) "contents read"
116 string(13) "contents read"
122 string(13) "contents read"
133 string(13) "contents read"
H A Dfile_get_contents_variation7-win32-mb.phpt47 fwrite($h, "contents read");
68 string(%d) "contents read"
71 string(%d) "contents read"
74 string(%d) "contents read"
77 string(%d) "contents read"
90 string(%d) "contents read"
93 string(%d) "contents read"
96 string(%d) "contents read"
99 string(%d) "contents read"
107 string(%d) "contents read"
H A Dfile_variation8.phpt39 fwrite($h, "contents read");
62 string(13) "contents read"
68 string(13) "contents read"
74 string(13) "contents read"
80 string(13) "contents read"
96 string(13) "contents read"
102 string(13) "contents read"
108 string(13) "contents read"
114 string(13) "contents read"
H A Dfile_get_contents_variation7.phpt39 fwrite($h, "contents read");
60 string(%d) "contents read"
63 string(%d) "contents read"
66 string(%d) "contents read"
69 string(%d) "contents read"
82 string(%d) "contents read"
85 string(%d) "contents read"
88 string(%d) "contents read"
91 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-8.0/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-8.0/ext/phar/tests/
H A Dphar_oo_getcontents.phpt12 $phar['a/b'] = 'file contents
33 file contents
35 phar error: Cannot retrieve contents, "a" in phar "%sphar_oo_getcontents.phar.php" is a directory
36 phar error: Cannot retrieve contents, "hi" in phar "%sphar_oo_getcontents.phar.php" is a directory
/PHP-8.0/ext/standard/tests/strings/
H A Dstr_getcsv_002.phpt5 $contents = <<<EOS
8 print_r(str_getcsv($contents, ',', '"', ''));
/PHP-8.0/ext/standard/tests/dir/
H A Ddir_variation3.phpt63 echo "-- reading contents --\n";
89 -- reading contents --
100 -- reading contents --
111 -- reading contents --
122 -- reading contents --
133 -- reading contents --
144 -- reading contents --
155 -- reading contents --
166 -- reading contents --
177 -- reading contents --
[all …]
H A Dreaddir_variation3.phpt29 $contents[] = $file;
32 // more important to check that all contents are present than order they are returned in
33 sort($contents);
34 var_dump($contents);
H A Dreaddir_variation3-win32-mb.phpt35 $contents[] = $file;
38 // more important to check that all contents are present than order they are returned in
39 sort($contents);
40 var_dump($contents);
/PHP-8.0/ext/standard/tests/array/
H A Darray_walk_basic2.phpt29 echo "-- Using array_walk with default parameters to show array contents --\n";
32 echo "-- Using array_walk with one optional parameter to modify contents --\n";
35 echo "-- Using array_walk with default parameters to show modified array contents --\n";
42 -- Using array_walk with default parameters to show array contents --
56 -- Using array_walk with one optional parameter to modify contents --
74 -- Using array_walk with default parameters to show modified array contents --
H A Darray_walk_recursive_basic2.phpt29 echo "-- Using array_walk_recursive with default parameters to show array contents --\n";
32 echo "-- Using array_walk_recursive with one optional parameter to modify contents --\n";
35 echo "-- Using array_walk_recursive with default parameters to show modified array contents --\n";
42 -- Using array_walk_recursive with default parameters to show array contents --
56 -- Using array_walk_recursive with one optional parameter to modify contents --
74 -- Using array_walk_recursive with default parameters to show modified array contents --
/PHP-8.0/tests/output/
H A Dob_get_contents_basic_001.phpt29 echo "\ncheck that contents disappear after a flush\n";
36 echo "\ncheck that no contents found after an end\n";
59 check that contents disappear after a flush
63 check that no contents found after an end

Completed in 39 milliseconds

1234567