Bug #52739 [NEW]: rename bug
| From: | lgynove at 163 dot com | Date: | Mon, 30 Aug 2010 10:56:52 +0000 |
| Subject: | Bug #52739 [NEW]: rename bug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153922@lists.php.net to get a copy of this message | ||
From:
Operating system: windows xp
PHP version: 5.3.3
Package: Compile Warning
Bug Type: Bug
Bug description:rename bug
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 bug report at http://bugs.php.net/bug.php?id=52739&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52739&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52739&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52739&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52739&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52739&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52739&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52739&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52739&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52739&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52739&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52739&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52739&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52739&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52739&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52739&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52739&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52739&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52739&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52739&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52739&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52739&r=mysqlcfg