LGV_TZ_Lookup 1.4.2
Time zone lookup for PHP applications and HTTP clients
Loading...
Searching...
No Matches
DatabaseTestStatement Class Reference

This observes native PostgreSQL result sizes without keeping statements or cursors alive. PHP heap counters alone do not include libpq's result buffers. A weak reference lets the test inspect the active result and verify that it contains one row, while normal statement destruction still performs cleanup. More...

Inheritance diagram for DatabaseTestStatement:
Collaboration diagram for DatabaseTestStatement:

Static Public Attributes

static WeakReference $last
 The most recently prepared statement, while it remains alive.

Protected Member Functions

 __construct ()

Detailed Description

Definition at line 56 of file databases.php.

Constructor & Destructor Documentation

◆ __construct()

DatabaseTestStatement::__construct ( )
protected

Definition at line 58 of file databases.php.

Member Data Documentation

◆ $last

WeakReference DatabaseTestStatement::$last
static

Definition at line 57 of file databases.php.


The documentation for this class was generated from the following file: