Bug #52739 [Opn->Bgs]: rename bug

From: Date: Mon, 30 Aug 2010 11:36:28 +0000
Subject: Bug #52739 [Opn->Bgs]: rename bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-153923@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52739&edit=1 ID: 52739 Updated by: pajoye@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

« previous php.bugs (#153923) next »