ID: 47085 Updated by: cel...@php.net Reported By: vr...@php.net -Status: Open +Status: Assigned Bug Type: PHAR related Operating System: Windows PHP Version: 5.3.0alpha3 -Assigned To: +Assigned To: cellog New Comment:
didn't realize this one was out there, I'll take a look Previous Comments: ------------------------------------------------------------------------ [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