mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
12 lines
144 B
Plaintext
12 lines
144 B
Plaintext
|
--TEST--
|
||
|
php://fd wrapper: basic test
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$f = fopen("php://fd/1", "wb");
|
||
|
fwrite($f, "hi!");
|
||
|
|
||
|
echo "\nDone.\n";
|
||
|
--EXPECT--
|
||
|
hi!
|
||
|
Done.
|