Lines Matching refs:handle
21 $handle = fopen('php://temp', 'r+');
22 fwrite($handle, 'data');
23 $stream = new Stream($handle);
36 $handle = fopen('php://temp', 'r');
37 $stream = new Stream($handle);
39 $this->assertFalse(is_resource($handle));
44 $handle = fopen('php://temp', 'w+');
45 fwrite($handle, 'data');
46 $stream = new Stream($handle);
54 $handle = fopen('php://temp', 'w+');
55 fwrite($handle, 'data');
56 $stream = new Stream($handle);
65 $handle = fopen('php://temp', 'w+');
66 fwrite($handle, 'data');
67 $stream = new Stream($handle);
76 $handle = fopen('php://temp', 'w+');
77 fwrite($handle, 'data');
78 $stream = new Stream($handle);
87 $handle = fopen(__FILE__, 'r');
88 $stream = new Stream($handle);
109 $handle = fopen('php://temp', 'w+');
110 $stream = new Stream($handle);
116 $this->assertSame(ftell($handle), $stream->tell());
162 $handle = fopen('php://temp', 'r+');
163 $stream = new Stream($handle);