/* Decoded by unphp.net */ --TEST-- Phar: rename test zip-based --EXTENSIONS-- phar --INI-- phar.readonly=0 phar.require_hash=0 --FILE-- setStub(""); $phar['a'] = 'a'; $phar->stopBuffering(); include $fname; echo file_get_contents($alias . '/a') . " "; rename($alias . '/a', $alias . '/b'); echo file_get_contents($alias . '/b') . " "; echo file_get_contents($alias . '/a') . " "; ?> --CLEAN-- --EXPECTF-- a a Warning: file_get_contents(phar://%srename.phar.zip/a): Failed to open stream: phar error: "a" is not a file in phar "%srename.phar.zip" in %srename.php on line %d