1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/pgsql/tests/19pg_ping.phpt
Nikita Popov e378968c4f Fix EXTENSIONS section for pgsql
This should have been pgsql, not psql...
2021-06-14 14:40:38 +02:00

18 lines
244 B
PHP

--TEST--
PostgreSQL pg_ping() functions
--EXTENSIONS--
pgsql
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
<?php
// optional functions
include('config.inc');
$db = pg_connect($conn_str);
var_dump(pg_ping($db));
?>
--EXPECT--
bool(true)