Lines Matching refs:src
10 $src = fopen($initial_file, 'r');
11 stream_filter_append($src, "string.rot13", STREAM_FILTER_READ);
14 var_dump(stream_copy_to_stream($src, $dest, 0));
15 var_dump(ftell($src));
17 fclose($src); fclose($dest);
24 $src = fopen($initial_file, 'r');
25 stream_filter_append($src, "string.rot13", STREAM_FILTER_READ);
28 var_dump(stream_copy_to_stream($src, $dest, -1));
29 var_dump(ftell($src));
31 fclose($src); fclose($dest);
41 $src = fopen($initial_file, 'r');
42 stream_filter_append($src, "string.rot13", STREAM_FILTER_READ);
45 var_dump(stream_copy_to_stream($src, $dest));
46 var_dump(ftell($src));
48 fclose($src); fclose($dest);
59 $src = fopen($initial_file, 'r');
62 var_dump(stream_copy_to_stream($src, $dest));
63 var_dump(ftell($src));
65 fclose($src); fclose($dest);
76 $src = fopen($initial_file, 'r');
79 var_dump(stream_copy_to_stream($src, $dest, 1000000));
80 var_dump(ftell($src));
82 fclose($src); fclose($dest);
94 $src = fopen($initial_file, 'r');
97 var_dump(stream_copy_to_stream($src, $dest, 10));
98 var_dump(ftell($src));
100 fclose($src); fclose($dest);
111 $src = fopen($initial_file, 'r');
114 var_dump(stream_copy_to_stream($src, $dest, -1));
115 var_dump(ftell($src));
117 fclose($src); fclose($dest);