<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Introduction</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="internals2.counter.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="internals2.counter.ini.html">Runtime Configuration</a></div> <div class="up"><a href="internals2.counter.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="internals2.counter.intro" class="section"> <h2 class="title">Introduction</h2> <p class="simpara"> The "counter" extension provides any number of counters to PHP code using it which reset at times determined by the caller. </p> <p class="simpara"> There are three interfaces to "counter": basic, extended, and objective. The basic interface provides a single counter controlled by INI settings and function calls. The extended interface provides an arbitrary number of named counter resources which may optionally persist beyond the lifetime of a single PHP request. The objective interface combines both the basic and extended interfaces into a <strong class="classname">Counter</strong> class. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="internals2.counter.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="internals2.counter.ini.html">Runtime Configuration</a></div> <div class="up"><a href="internals2.counter.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>