1--TEST-- 2privileged connect tests 3--EXTENSIONS-- 4oci8 5--SKIPIF-- 6<?php 7require_once 'skipifconnectfailure.inc'; 8?> 9--FILE-- 10<?php 11 12require __DIR__."/connect.inc"; 13 14oci_connect("", "", "", false, OCI_SYSOPER); 15oci_connect("", "", "", false, OCI_SYSDBA); 16oci_connect("", "", "", false, -1); 17 18echo "Done\n"; 19?> 20--EXPECTF-- 21Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_connect to be able to connect as SYSOPER or SYSDBA in %s on line %d 22 23Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_connect to be able to connect as SYSOPER or SYSDBA in %s on line %d 24 25Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d 26Done 27