|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-03 17:10 UTC] cellog@php.net
[2009-02-03 18:30 UTC] cellog@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
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)