horde/horde — pull request #44 by remicollet (2013-04-15 09:19:38+00:00)
Title: Invalidate Zend OPcache to ensure saved version used

Zend OPcache will be the default / official opcode cache in PHP 5.5.

It is also available as a pecl extension for PHP 5.3 and 5.4.
http://pecl.php.net/package/ZendOpcache

According to configuration, script files could be check for modification, based on timestamp, after a small time (default = 2") or never (optimisation for production server where scripts are not supposed to change)

This minor patch invalidate the cache of the config script, so ensure the new version will be used on next execution.

The opcache_invalidate function is part of php 5.5.0beta3 and will be in the pecl extension version 7.0.2 (code are synced)