|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-06 09:36 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 13:00:01 2025 UTC |
Description: ------------ This problem is same as copy() function Reproduce code: --------------- <?php $des5 = fopen("1.txt", "r"); //"hello" in 1.txt $des6 = fopen("1.txt", "w"); stream_copy_to_stream($des5, $des6); readfile("1.txt"); ?> Expected result: ---------------- hello Actual result: -------------- none