php PHP's OPCache extension review Reminder on OPCodes caches PHP is a scripting language, that by default will compile any file you ask it to run, obtain OPCodes [http://blog.jpauli.tech/2015/02/05/zend-vm-executor.html] from compilation, run them, and trash them away immediately. PHP has been designed like that : it "forgets&
php Getting into the Zend Execution engine (PHP 5) PHP : an interpreted language PHP is often defined as a "scripting language" or an "interpreted language". What's that ? Well, it is a language that won't turn its instructions (its syntax) directly into native machine language, but into an intermediate form, that obviously
php On PHP function calls (PHP 5) Introducting the facts This blog post is a technical explanation of a PHP optimization found with Blackfire profiler [https://blackfire.io/] into a PHP script. The related post is located here : http://blog.blackfire.io/owncloud.html Basically, it concludes with : if (strlen($name) > 49) { ... } Beeing about 20% slower
php PHP output buffer in deep Dec 19th, 2014 First words Everybody is aware of the "output buffering" layer in PHP. This blog post is about how it works, how it's been implemented in PHP source code, and how to interact with it from PHP. This layer is not complex, but often misunderstood, or at
php PHP and MySQL communication : mysqlnd Introduction Appeared with PHP 5.3, mysqlnd is an unknown part of PHP. Yet, this extension is a must-have if your system relies heavily on the MySQL database server. We'll see what mysqlnd is, what it brings to PHP and how to use it. Foresee PHP communicates with
php PHP memory and Zend Memory Manager (PHP 5) Introduction This blog post is gonna introduce you the dynamic memory management layer PHP relies on : Zend Memory Manager (ZendMM). We'll detail why we need such a layer, what it does, how to customize it, how to interact with it from PHP land. Recall on C memory management
php PHP's Realpath Cache Introduction Do you know those PHP functions, realpath_cache_get(), realpath_cache_size() ? php.ini setting realpath_cache ? Realpath cache is a really important concept to know about, especially when it comes to play with symbolic links, a situation some meet when they deploy code. This setting is about performance
php Reference mismatch in PHP function calls A recall on references Once again, a coworker just pinged me about a huge memory usage in a Symfony based project. What is bad about Symfony ecosystem, is that people tend to use everyone else's code, because it seems to fit the usage need. This is not bad