* When the object goes out of scope, the timer is restarted, with
* the original time limit minus the time the object existed.
*/
class ScopedPHPTimeout {
protected $startTime; // float; seconds
protected $oldTimeout; // integer; seconds
* When the object goes out of scope, the timer is restarted, with
* the original time limit minus the time the object existed.
*/
class ScopedPHPTimeout {
protected $startTime; // float; seconds
protected $oldTimeout; // integer; seconds