xref: /PHP-7.4/ext/oci8/tests/connect.phpt (revision 26dfce7f)
1--TEST--
2oci_connect()
3--SKIPIF--
4<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
5--FILE--
6<?php
7
8require __DIR__."/connect.inc";
9
10if (!empty($dbase)) {
11	var_dump(oci_connect($user, $password, $dbase));
12}
13else {
14	var_dump(oci_connect($user, $password));
15}
16
17echo "Done\n";
18
19?>
20--EXPECTF--
21resource(%d) of type (oci8 connection)
22Done
23