mirror of
https://github.com/php/php-src.git
synced 2026-03-26 01:02:25 +01:00
20 lines
325 B
PHP
20 lines
325 B
PHP
--TEST--
|
|
Reusing connection with same connection string
|
|
--EXTENSIONS--
|
|
pgsql
|
|
--SKIPIF--
|
|
<?php include("skipif.inc"); ?>
|
|
--FILE--
|
|
<?php
|
|
include('config.inc');
|
|
|
|
$db1 = pg_connect($conn_str);
|
|
$db2 = pg_connect($conn_str);
|
|
var_dump($db1, $db2);
|
|
?>
|
|
--EXPECT--
|
|
object(PgSql\Connection)#1 (0) {
|
|
}
|
|
object(PgSql\Connection)#1 (0) {
|
|
}
|