1--TEST--
2FB payload server satisfies connection attempt
3--EXTENSIONS--
4pdo_firebird
5sockets
6--ENV--
7LSAN_OPTIONS=detect_leaks=0
8--FILE--
9<?php
10require_once "payload_server.inc";
11
12$address = run_server(__DIR__ . "/payload_test.data");
13
14// no need to change the credentials; we're running against a fake server
15$dsn = "firebird:dbname=inet://$address/test";
16$username = 'SYSDBA';
17$password = 'masterkey';
18
19new PDO($dsn, $username, $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
20?>
21--EXPECT--
22