News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Gopal Vijayaraghavan's Blog:
APC Autofilter The Real Story
September 24, 2007 @ 16:43:00

According to Gopal Vijayaraghavan, PHP developers "don't really understand PHP":

They know how to use PHP - but they hardly know how it works, mainly because it Just Works most of the time. But such willful ignorance (otherwise known as abstraction) often runs them aground on some issues when their code meets the stupidity that is APC.

To illustrate, he talks about how a simple bit of functionality in PHP, includes, really work. He describes how they're handled (evaluated at run time) and how the APC relates to this process.

He presents a dilemma where classes are created in two different ways (inside and outside included files) and a problem that could cause the APC caching to not cache a file at all after a certain point. He even gives an example of how, in "normal code" and a pretty basic development situation, this sort of thing could happen.

0 comments voice your opinion now!
apc autofilter compile opcode cache apc autofilter compile opcode cache


blog comments powered by Disqus

Similar Posts

Lukas Smith's Blog: Opcode Best Practices (webcast)

Zoe Slattery's Blog: PHP Opcodes

JSLabs Blog: How to install Alternative PHP Cache

Rob Peck's Blog: PECL memcache and PHP on Mac OS X Leopard

Matt Curry's Blog: 8 Ways to Speed Up CakePHP Apps


Community Events





Don't see your event here?
Let us know!


laravel threedevsandamaybe language install homestead library wordpress interview release unittest developer code application podcast introduction series configure api list community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework