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