Saturday, February 9, 2008

require() vs require_once() with modern APC

Knowing that I would soon be faced with some uncomfortable decisions for litPHP, specifically, decisions on how to manage the loading of library components, I found myself considering require versus require_once. litPHP has memory conservation and opcode cache-friendliness listed as primary goals, so the choice between the two wasn't clear.

No comments: