php7

PHP7 alpha released!

Yesterday, PHP7 alpha has been released: THIS IS A DEVELOPMENT PREVIEW – DO NOT USE IT IN PRODUCTION! PHP 7.0.0 Alpha 1 comes with new version of the Zend Engine with features such as (incomplete list): Improved performance: PHP 7 is up to twice as fast as PHP 5.6 Consistent 64-bit support Many fatal errors…

HHVM with Opcache

How to use HHVM with Opcache? HHVM compiles PHP-code in a different way and cannot make use of Opcache. So it’s pretty normal you will not be able to install HHVM with opcache. Opcache and HHVM don’t go together. HHVM can utilize APC HHVM can be configured to use APC caching instead. Consider the following…

Reserved word `flags` in Zend Framework 1 causing Form issues

I recently found a strange issue when coding a form using ZF1’s Zend_Form in combination with checked checkboxes. The code:

The issue: The first 3 checkboxes are getting displayed normally, with banana and apple pre-checked. The second multiCheckbox renders, but does not have any checkboxes checked. Why: In my case I got it working when I renamed ‘multiCheckbox’, ‘flags’, array( to for example ‘multiCheckbox’,…