Edit report at http://bugs.php.net/bug.php?id=52739&edit=1
ID: 52739 Updated by: paj...@php.net Reported by: lgynove at 163 dot com Summary: rename bug -Status: Open +Status: Bogus Type: Bug Package: Compile Warning Operating System: windows xp PHP Version: 5.3.3 Block user comment: N New Comment: It is the expected behavior, also documented. Previous Comments: ------------------------------------------------------------------------ [2010-08-30 12:56:51] lgynove at 163 dot com Description: ------------ i think it a rename function bug Test script: --------------- <? class Wrapper1 { } stream_wrapper_register('abc', "Wrapper1") or die("Failed to register protocol"); rename("abc://abc.txt", "d:/www/test.txt"); Expected result: ---------------- none Actual result: -------------- Warning: rename(): Cannot rename a file across wrapper types in D:\www\wrapper1.php on line 7 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52739&edit=1