Lines Matching refs:stream
5 $stream = fopen('php://memory', 'w+');
6 fputs($stream, "<?\n\"\n");
7 rewind($stream);
8 var_dump(@fgetss($stream));
9 var_dump(@fgetss($stream));
10 fclose($stream);
12 $stream = fopen('php://memory', 'w+');
13 fputs($stream, "<\0\n!\n");
14 rewind($stream);
15 var_dump(@fgetss($stream));
16 var_dump(@fgetss($stream));
17 fclose($stream);
19 $stream = fopen('php://memory', 'w+');
20 fputs($stream, "<\0\n?\n");
21 rewind($stream);
22 var_dump(@fgetss($stream));
23 var_dump(@fgetss($stream));
24 fclose($stream);