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