ID: 35917 Updated by: [EMAIL PROTECTED] Reported By: sqchen at citiz dot net -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: redhat 7.3 PHP Version: 5.1.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2006-01-06 08:59:17] sqchen at citiz dot net 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35917&edit=1
