From 4d99a9536483dc27b7bdb4366aacb85ee34b5290 Mon Sep 17 00:00:00 2001
From: Emiel Bruijntjes
This, by the way, only happens to native variables. Global PHP variables, @@ -94,13 +94,13 @@ extern "C" {
The Php::Extension class has a method onRequest() that is used in the above example to register a callback function. This callback is called right - before every pageview/request. As you can see in the example, it is - permitted to use lambda functions. In the above example the global variable - invokeDuringRequestCount is re-initialized. + before every pageview/request. And as you can see, it is + permitted to use lambda functions.
- The onRequest() is not the only callback that can be registered. There are - four different callbacks on*() methods that you can call to register callbacks. + The onRequest() is not the only method in the Php::Extension object to + register a callback. There are in fact + four different callbacks on*() methods that you can use.