xref: /PHP-8.1/ext/pgsql/tests/20pg_get_pid.phpt (revision e378968c)
1--TEST--
2PostgreSQL pg_get_pid() functions
3--EXTENSIONS--
4pgsql
5--SKIPIF--
6<?php include("skipif.inc"); ?>
7--FILE--
8<?php
9// optional functions
10
11include('config.inc');
12
13$db = pg_connect($conn_str);
14$pid = pg_get_pid($db);
15
16is_integer($pid) ? print 'OK' : print 'NG';
17?>
18--EXPECT--
19OK
20