id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	phpversion	appname	pending	exts	sapi	probability	blocking
170	xcache loads cached PHP files when directory name is changed	Dark Light	moo	"'''xcache loads cached PHP files when directory name is changed'''

xcache will load a pre-compiled PHP file if the directory name is changed. For example:

+ Create folder1
+ Create file1.php
++ Inside file1 type:

<?php echo dirname(__FILE__); ?>

+ Save file1.php
+ Browse to http://dom.ext/folder1/file1.php
+ Copy contents to text editor

+ Rename folder1 to folder2. Keep file1.php name intact.
+ Browse to http://dom.ext/folder2/file1.php
+ Copy contents to text editor

+ You will notice the contents are the same and xcache is using the older version of the PHP script even though clearly the directory path has changed.

-- Note: Might not be an xcache bug, but it's annoying and replicable on other systems all the same. Happens with APC (Alternative PHP Cache) too.

Thank you,
Best Regards,"	defect	closed	major		cacher	1.2.2	duplicate				5.2.3		0		apache2handler	Always	
