PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-01-06 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 426 All time: 6,240 This week: 588Up
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
Name: Alexander Over <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 39
All time rank: 140991 in Germany Germany
Week rank: 778 Up40 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x


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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,240
This week:588Up