PHP Classes
elePHPant
Icontem

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 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 424 All time: 6,007 This week: 942Up
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: 35
All time rank: 140990 in Germany Germany
Week rank: 801 Up36 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:424
This week:0
All time:6,007
This week:942Up