mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
31c35e5cad
remove ENV tag from the old ones
31 lines
547 B
PHP
31 lines
547 B
PHP
--TEST--
|
|
oci_server_version()
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
require dirname(__FILE__)."/connect.inc";
|
|
|
|
if (!empty($dbase)) {
|
|
var_dump($c = oci_connect($user, $password, $dbase));
|
|
}
|
|
else {
|
|
var_dump($c = oci_connect($user, $password));
|
|
}
|
|
|
|
$v = oci_server_version($c);
|
|
var_dump(str_replace("\n", "", $v));
|
|
|
|
$v = ociserverversion($c);
|
|
var_dump(str_replace("\n", "", $v));
|
|
|
|
echo "Done\n";
|
|
|
|
?>
|
|
--EXPECTF--
|
|
resource(%d) of type (oci8 connection)
|
|
string(%d) "%s"
|
|
string(%d) "%s"
|
|
Done
|