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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 428 This week: 1All time: 6,329 This week: 560Up
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: 43
All time rank: 142089 in Germany Germany
Week rank: 411 Up15 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:428
This week:1
All time:6,329
This week:560Up