xref: /PHP-8.4/ext/pgsql/tests/20pg_get_pid.phpt (revision c15988aa)
1--TEST--
2PostgreSQL pg_get_pid() functions
3--EXTENSIONS--
4pgsql
5--SKIPIF--
6<?php include("inc/skipif.inc"); ?>
7--FILE--
8<?php
9// optional functions
10
11include('inc/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