PHP Classes

Detect Opcode Cache: Detect whether PHP is running an opcode cache

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 428 All time: 6,335 This week: 455Up
Version License PHP version Categories
detect-opcode-cache 0.1BSD License5.0PHP 5, Language
Description 

Author

This class can be used to detect whether PHP is running an opcode cache.

It can check the presence of certain PHP options or functions to determine if one of several known opcode cache extensions is available.

Currently it can detect XCache, Microsoft WinCache, APC, eAccelerator, PHPA and Zend Accelerator.

Innovation Award
PHP Programming Innovation award nominee
January 2010
Number 4


Prize: One downloadable copy of PhpED Professional
An opcode cache is a PHP extension that is used to accelerate the loading of PHP code by skipping the initial phase of compiling PHP source code into opcodes.

There are many PHP opcode cache extensions. This class is capable of detecting the presence many of the existing PHP opcode cache extensions.

Manuel Lemos
Picture of Alexander Over
Name: Alexander Over <contact>
Classes: 4 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (1)  
File Role Description
Plain text file detectopcodecache.class.php Class Main Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:428
This week:0
All time:6,335
This week:455Up