1--TEST--
2php://fd wrapper: mode is ignored
3--FILE--
4<?php
5$f = fopen("php://fd/1", "rkkk");
6fwrite($f, "hi!");
7
8echo "\nDone.\n";
9--EXPECT--
10hi!
11Done.
12