ID:               47085
 Updated by:       cel...@php.net
 Reported By:      vr...@php.net
-Status:           Assigned
+Status:           Closed
 Bug Type:         PHAR related
 Operating System: Windows
 PHP Version:      5.3.0alpha3
 Assigned To:      cellog
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

fixed and added a new test (tests/bug47085.phpt).

This one was easy - I simply hadn't implemented the error on failed
rename (oops)


Previous Comments:
------------------------------------------------------------------------

[2009-02-03 17:10:39] cel...@php.net

didn't realize this one was out there, I'll take a look

------------------------------------------------------------------------

[2009-01-13 11:27:03] vr...@php.net

Description:
------------
rename() returns true with phar:// stream wrapper even if the oldfile
doesn't exist.

Reproduce code:
---------------
<?php
rename("phar://a.phar/x", "phar://a.phar/y");
var_dump(rename("phar://a.phar/x", "phar://a.phar/y"));
?>


Expected result:
----------------
bool(false) and some warning

Actual result:
--------------
bool(true)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47085&edit=1

Reply via email to