Home
last modified time | relevance | path

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

1234567

/PHP-8.2/ext/spl/tests/SplFileObject/
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"]=>
/PHP-8.2/ext/zip/tests/
H A Doo_stream.phpt18 $contents = '';
20 $contents .= fread($fp, 255);
25 var_dump($contents);
32 $contents = '';
34 $contents .= fread($fp, 2);
36 var_dump($contents);
H A Dpecl12414.phpt20 $contents=$za->getFromName($filename);
22 echo "ZIP contents size: " . strlen($contents) . "\n";
23 if(strlen($contents)!=$file_size) {
27 $contents=false;
H A Dbug53579.phpt18 $contents = stream_get_contents($fp);
22 var_dump($contents);
29 $contents = stream_get_contents($fp);
30 var_dump($contents);
/PHP-8.2/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.2/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.2/ext/standard/tests/file/
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_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.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 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 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"
/PHP-8.2/ext/imap/tests/
H A Dbug80215.phpt13 "contents.data" => 4,
17 "contents.data" => 7,
39 ["contents.data"]=>
54 ["contents.data"]=>
H A Dbug31142_1.phpt19 $part2["contents.data"] = "ABC";
24 $part3["contents.data"] = "contents.data3\n\n\n\t";
51 contents.data3
H A Dbug40854.phpt18 $part2["contents.data"] = '';
23 $part3["contents.data"] = "contents.data3\n\n\n\t";
49 contents.data3
/PHP-8.2/ext/simplexml/tests/
H A Dgh12169.phpt2 GH-12169 (Unable to get comment contents in SimpleXML)
11 <!-- comment contents -->
23 string(18) " comment contents "
H A Dgh12167.phpt2 GH-12167 (Unable to get processing instruction contents in SimpleXML)
11 <?foo pi contents ?>
23 string(12) "pi contents "
/PHP-8.2/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.2/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.2/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.2/ext/standard/tests/strings/
H A Dstr_getcsv_002.phpt5 $contents = <<<EOS
8 print_r(str_getcsv($contents, ',', '"', ''));
/PHP-8.2/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 19 milliseconds

1234567