blob: 703393cc4e006876e601f63669370b290b1b3b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--TEST--
Test functionality disabled in safe mode
--SKIPIF--
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
--INI--
safe_mode=On
oci8.privileged_connect=On
--FILE--
<?php
$c = oci_connect("hr", "hrpwd", "//localhost/XE", null, OCI_SYSDBA);
$r = oci_password_change($c, "hr", "hrpwd", "hrpwd");
echo "Done\n";
?>
--EXPECTF--
Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
Warning: oci_connect(): Privileged connect is disabled in Safe Mode in %s on line %d
Warning: oci_password_change(): is disabled in Safe Mode in %s on line %d
Done
|