fix cacheExtender for php5.4
Merge pull request #36 from dmi3yy/master

pl2