--TEST-- php://fd wrapper: invalid file descriptor --FILE-- --EXPECTF-- Warning: fopen(php://fd/1023): Failed to open stream: Error duping file descriptor 1023; possibly it doesn't exist: [9]: %s in %s on line %d Done.