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