Login   Register  
PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 416 All time: 5,803 This week: 1,474Up
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
Age: 33
All time rank: 143595 in Germany Germany
Week rank: 561 Up18 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  
 0%Total:416All time:5,803
 This week:0This week:1,474Up