PHP gettext caching workaround
Gettext is probably the most flexible, the most convenient, and the fastest way to handle I18N in PHP applications (and not only PHP of course).
However, when you have PHP installed as an Apache module (mod_php), PHP's gettext extension translation files are cached, so updates are not instantly visible. Unfortunately, there are no configuration directives to control caching time and practically the only way to clear the cache is to restart the web server. Obviously it can be a serious issue, especially on shared hosts, where you rarely have control over the server.
[read more]Zend PHP Certification Watchouts
Over a year ago I've passed Zend PHP Certification exam. Now I decided to prepare some notes for all the folks preparing to take the exam. It's simply list of things that could be tricky, even for advanced programmers. The list is definitely not complete, and none of these are exam questions (it's forbidden to disclose them) but I hope you will find it helpful anyway.
[read more]1