xref: /PHP-8.1/ext/oci8/tests/serverversion.phpt (revision 74859783)
1--TEST--
2oci_server_version()
3--EXTENSIONS--
4oci8
5--FILE--
6<?php
7
8require __DIR__."/connect.inc";
9
10if (!empty($dbase)) {
11    var_dump($c = oci_connect($user, $password, $dbase));
12}
13else {
14    var_dump($c = oci_connect($user, $password));
15}
16
17$v = oci_server_version($c);
18var_dump(str_replace("\n", "", $v));
19
20echo "Done\n";
21
22?>
23--EXPECTF--
24resource(%d) of type (oci8 connection)
25string(%d) "Oracle %s"
26Done
27