I am currently considering using APC to cache my PHP code into memory so I can optimize my server performance. But one thing that concern me is my code that looks like
$a = $_GET['foo']; require_once '$a';
My intention of the script above is to reduce number of file need to be loaded (based on request, different class file) so I can improve the IO process. Does APC able to work well in this situation? if so, please help me to recommend your favourite APC.
Thanks.