Home
last modified time | relevance | path

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

1234567

/php-src/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"]=>
H A DSplFileObject_fgetcsv_escape_empty.phpt5 $contents = <<<EOS
11 $file->fwrite($contents);
/php-src/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-src/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-src/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-src/ext/standard/tests/file/
H A Dfile_get_contents_variation7-win32-mb.phpt47 fwrite($h, "contents read");
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
86 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
108 string(%d) "contents read"
116 string(%d) "contents read"
H A Dfile_get_contents_variation7-win32.phpt47 fwrite($h, "contents read");
77 string(%d) "contents read"
80 string(%d) "contents read"
83 string(%d) "contents read"
86 string(%d) "contents read"
99 string(%d) "contents read"
102 string(%d) "contents read"
105 string(%d) "contents read"
108 string(%d) "contents read"
116 string(%d) "contents read"
H A Dfile_variation8-win32.phpt47 fwrite($h, "contents read");
79 string(13) "contents read"
85 string(13) "contents read"
91 string(13) "contents read"
97 string(13) "contents read"
113 string(13) "contents read"
119 string(13) "contents read"
125 string(13) "contents read"
131 string(13) "contents read"
142 string(13) "contents read"
H A Dfile_get_contents_variation7.phpt39 fwrite($h, "contents read");
69 string(%d) "contents read"
72 string(%d) "contents read"
75 string(%d) "contents read"
78 string(%d) "contents read"
91 string(%d) "contents read"
94 string(%d) "contents read"
97 string(%d) "contents read"
100 string(%d) "contents read"
H A Dfile_variation8.phpt39 fwrite($h, "contents read");
71 string(13) "contents read"
77 string(13) "contents read"
83 string(13) "contents read"
89 string(13) "contents read"
105 string(13) "contents read"
111 string(13) "contents read"
117 string(13) "contents read"
123 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"
H A Dfgetcsv_variation32.phpt5 $contents = <<<EOS
11 fwrite($stream, $contents);
/php-src/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-src/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-src/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);
H A Ddir_variation4.phpt31 echo "-- reading directory contents with previous handle --\n";
34 echo "-- reading directory contents with current handle --\n";
62 -- reading directory contents with previous handle --
64 -- reading directory contents with current handle --
/php-src/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-src/ext/standard/tests/strings/
H A Dstr_getcsv_002.phpt5 $contents = <<<EOS
8 print_r(str_getcsv($contents, ',', '"', ''));
/php-src/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 37 milliseconds

1234567