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?>
10--EXPECT--
11hi!
12Done.
13