db2_pconnect

PECL ibm_db2 >= 1.0.0
db2_pconnect - Returns a persistent connection to a database
Manual
Code Examples

Example #1 A db2_pconnect example

Result: Persistent connection succeeded. Second persistent connection succeeded.
PHP Version:

Example #2 Using trusted context

Result: Explicit trusted connection succeeded. User has been switched.
PHP Version: