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