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