Merge branch 'PHP-7.2' into PHP-7.3

This commit is contained in:
Christopher Jones 2018-09-24 16:41:35 +10:00
commit d7b87cd995
144 changed files with 167 additions and 167 deletions

View File

@ -58,7 +58,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name(): OCI-21560: argument 3 is null, invalid, or out of range in %s on line %d
Warning: oci_execute(): ORA-%r(01008|57000)%r: %s in %s on line %d

View File

@ -58,7 +58,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name(): Maximum array length must be greater than zero in %s on line %d
Warning: oci_execute(): ORA-%r(01008|57000)%r: %s in %s on line %d

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_execute(): ORA-01403: %s
ORA-06512: at "%s.ARRAY_BIND_003_PKG", line %d
ORA-06512: at line %d in %sarray_bind_003.php on line %d

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_execute(): ORA-01403: %s
ORA-06512: at "%s.ARRAY_BIND_004_PKG", line %d
ORA-06512: at line %d in %sarray_bind_004.php on line %d

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(0) ""

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(4) "five"

View File

@ -58,7 +58,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name(): Unknown or unsupported datatype given: -1 in %s on line %d
Warning: oci_execute(): ORA-%r(01008|57000)%r: %s in %s on line %d

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_execute(): ORA-06550: line %d, column %d:
PLS-00418: %s
ORA-06550: %s

View File

@ -11,7 +11,7 @@ var_dump(oci_bind_array_by_name($c, ":c1", $array, 5, 5, SQLT_CHR));
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Done

View File

@ -19,7 +19,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name(): ORA-01036: illegal variable name/number in %s on line %d
array(5) {
[0]=>

View File

@ -58,7 +58,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name(): You must provide max length value for empty arrays in %s on line %d
Warning: oci_execute(): ORA-%r(01008|57000)%r: %s in %s on line %d

View File

@ -19,7 +19,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name(): Invalid max length value (-10) in %s on line %d
array(0) {
}

View File

@ -22,7 +22,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_bind_array_by_name() expects at most 6 parameters, 7 given in %s on line %d
NULL

View File

@ -60,7 +60,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
int(5)

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(9) "05-NOV-05"

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(9) "05-NOV-05"

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
float(5.9999)

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
float(5.9999)

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
int(5)

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
int(5)

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(4) "five"

View File

@ -61,7 +61,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(4) "five"

View File

@ -26,7 +26,7 @@ $stmtarray = array(
"insert into bind_char_tab values (2, NULL, 'abc')",
"insert into bind_char_tab values (3, NULL, 'abc ')"
);
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@ -196,7 +196,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";

View File

@ -28,7 +28,7 @@ $stmtarray = array(
"insert into bind_char_tab values (2, NULL, 'abc')",
"insert into bind_char_tab values (3, NULL, 'abc ')"
);
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@ -198,7 +198,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";

View File

@ -25,7 +25,7 @@ $stmtarray = array(
"create table bind_char_tab (id number, c1 date)",
"insert into bind_char_tab values (1, '2008-04-20')",
);
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@ -85,7 +85,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";

View File

@ -25,7 +25,7 @@ $stmtarray = array(
"create table bind_char_tab (id number, c1 date)",
"insert into bind_char_tab values (1, '2008-04-20')",
);
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@ -85,7 +85,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";

View File

@ -22,7 +22,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"create or replace function bind_char_3_fn(p1 char) return char as begin return p1; end;",
);
oci8_test_sql_execute($c, $stmtarray);
// Run Test

View File

@ -24,7 +24,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"create or replace function bind_char_3_fn(p1 varchar2) return varchar2 as begin return p1; end;",
);
oci8_test_sql_execute($c, $stmtarray);
// Run Test

View File

@ -24,7 +24,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"create or replace function bind_char_3_fn(p1 varchar2) return varchar2 as begin return p1; end;",
);
oci8_test_sql_execute($c, $stmtarray);
// Run Test

View File

@ -16,7 +16,7 @@ NLS_LANG=
<?php
require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"drop sequence myseq",
"drop table mytab",
@ -53,7 +53,7 @@ oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
string(1) "1"
string(1) "2"
string(1) "3"

View File

@ -51,7 +51,7 @@ oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
string(1) "1"
string(1) "2"
string(1) "3"

View File

@ -16,7 +16,7 @@ NLS_LANG=
<?php
require dirname(__FILE__).'/connect.inc';
$stmtarray = array(
"drop sequence myseq",
"drop table mytab",
@ -55,7 +55,7 @@ oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
string(1) "1"
string(1) "2"
string(1) "3"

View File

@ -16,7 +16,7 @@ NLS_LANG=
<?php
require dirname(__FILE__).'/connect.inc';
$stmtarray = array(
"drop sequence myseq",
"drop table mytab",
@ -55,7 +55,7 @@ oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
string(1) "1"
string(1) "2"
string(1) "3"

View File

@ -6,7 +6,7 @@ Bug #27303 (OCIBindByName binds numeric PHP values as characters)
<?php
require dirname(__FILE__).'/connect.inc';
$create_st = array();
$create_st[] = "drop sequence myseq";
$create_st[] = "drop table mytab";
@ -49,7 +49,7 @@ foreach ($create_st as $statement) {
echo "Done\n";
?>
--EXPECT--
--EXPECT--
int(1)
int(2)
int(3)

View File

@ -16,7 +16,7 @@ NLS_LANG=
<?php
require dirname(__FILE__).'/connect.inc';
$create_st = array();
$create_st[] = "drop sequence myseq";
$create_st[] = "drop table mytab";
@ -51,7 +51,7 @@ oci8_test_sql_execute($c, $drop_st);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
string(1) "1"
string(1) "2"
string(1) "3"

View File

@ -14,7 +14,7 @@ if (!(isset($matches[0]) && $matches[1] < 12)) {
<?php
require dirname(__FILE__).'/connect.inc';
$create_st = array();
$create_st[] = "drop sequence myseq";
$create_st[] = "drop table mytab";
@ -49,7 +49,7 @@ oci8_test_sql_execute($c, $drop_st);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
string(1) "1"
string(1) "2"
string(1) "3"

View File

@ -9,7 +9,7 @@ require(dirname(__FILE__).'/skipif.inc');
<?php
require(dirname(__FILE__).'/connect.inc');
// Initialize
$stmtarray = array(
@ -19,7 +19,7 @@ $stmtarray = array(
oci8_test_sql_execute($c, $stmtarray);
// Run test
$collection = oci_new_collection($c, "BUG32325_T");
$sql = "begin
@ -45,7 +45,7 @@ oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
int(4)
float(2)
float(3)

View File

@ -33,7 +33,7 @@ $s1 = oci_parse($c, "drop table test_nclob");
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
array(1) {
["NC"]=>
object(OCI-Lob)#%d (1) {

View File

@ -7,7 +7,7 @@ require(dirname(__FILE__).'/skipif.inc');
?>
--FILE--
<?php
require dirname(__FILE__).'/connect.inc';
function f($conn)

View File

@ -31,7 +31,7 @@ $clob = oci_new_descriptor($c, OCI_D_LOB);
oci_bind_by_name($stmt, ':data', $clob, -1, OCI_B_CLOB);
$clob->writetemporary("<MYTAG/>", OCI_TEMP_CLOB);
$success = oci_execute($stmt, OCI_COMMIT_ON_SUCCESS);
oci_free_statement($stmt);
oci_free_statement($stmt);
$clob->close();
// Query back the change

View File

@ -44,7 +44,7 @@ var_dump($strings);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(1) "A"

View File

@ -24,7 +24,7 @@ var_dump($bv);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
NULL
int(0)
Done

View File

@ -42,7 +42,7 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
array(5) {
[0]=>
string(3) "one"

View File

@ -51,7 +51,7 @@ $stmtarray = array(
"insert into bug41069_tab (c1, c2, c3, c4, c5, c6, c7, c9, c10, c12, c15) values
(113, 'aaaaaaa', 'bbbbbbbbbb', 'cccccc', 'e', 'f', 'dddd', '12/04/2006', '12/04/2006', 2224, 'zzzzzzz')"
);
oci8_test_sql_execute($c, $stmtarray);

View File

@ -102,27 +102,27 @@ function dropxmltab($c) // delete table
function fillxmltab($c)
{
for ($id = 1; $id <= 100; $id++) {
// create an XML element string with random data
// create an XML element string with random data
$s = "<data>";
for ($j = 0; $j < 128; $j++) {
$s .= rand();
$s .= rand();
}
$s .= "</data>\n";
$s .= "</data>\n";
for ($j = 0; $j < 4; $j++) {
$s .= $s;
}
}
$data = "<?xml version=\"1.0\"?><records>" . $s . "</records>";
// insert XML data into database
$stmt = oci_parse($c, "insert into bug43497_tab(id, xml) values (:id, sys.xmltype.createxml(:xml))");
oci_bind_by_name($stmt, ":id", $id);
$clob = oci_new_descriptor($c, OCI_D_LOB);
oci_bind_by_name($stmt, ":xml", $clob, -1, OCI_B_CLOB);
$clob->writetemporary($data);
oci_execute($stmt);
$clob->close();
$clob->free();
}

View File

@ -89,7 +89,7 @@ $statement = oci_parse($c, "DROP TABLE BIND_TEST");
echo "Done\n";
?>
--EXPECT--
--EXPECT--
Test 1
array(5) {
[0]=>

View File

@ -9,7 +9,7 @@ require(dirname(__FILE__).'/skipif.inc');
<?php
require(dirname(__FILE__).'/connect.inc');
// Initialize
$stmtarray = array(
@ -23,7 +23,7 @@ $stmtarray = array(
oci8_test_sql_execute($c, $stmtarray);
// Run test
$sql = "select col1,col2,col3,col4,col5,col6,col7,col8,col9 from bug71600_tab";
echo "Test 1\n";
@ -80,7 +80,7 @@ oci8_test_sql_execute($c, $stmtarray);
?>
===DONE===
<?php exit(0); ?>
--EXPECT--
--EXPECT--
Test 1
Executing SELECT statament...
Fetching data by columns...

View File

@ -10,8 +10,8 @@ require dirname(__FILE__).'/connect.inc';
oci_close($c);
oci_connect($user, $password, $dbase);
echo "Done\n";
?>
--EXPECT--
--EXPECT--
Done

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);

View File

@ -74,7 +74,7 @@ var_dump($all);
require(dirname(__FILE__).'/drop_table.inc');
echo "Done\n";
?>
--EXPECT--

View File

@ -64,7 +64,7 @@ var_dump($all);
require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECT--

View File

@ -62,7 +62,7 @@ foreach($values_array as $val ) {
oci_set_module_name($c1,$val);
oci_set_client_identifier($c1,$val);
oci_set_client_info($c1,$val);
$r = oci_set_action($c1,$val);
$r = oci_set_action($c1,$val);
if ($r) {
echo "Values set successfully to $val\n";
foreach($attr_array as $attr) {

View File

@ -13,7 +13,7 @@ if (!empty($dbase)) {
else {
var_dump(oci_connect($user, $password));
}
echo "Done\n";
?>

View File

@ -13,7 +13,7 @@ if (!empty($dbase)) {
else {
var_dump(ocilogon($user, $password));
}
echo "Done\n";
?>

View File

@ -18,7 +18,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -18,7 +18,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
oci8_test_sql_execute($c1, $stmtarray);
// Run Test

View File

@ -21,7 +21,7 @@ var_dump($c5 == $c6);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 connection)

View File

@ -28,7 +28,7 @@ if (!empty($dbase)) {
else {
var_dump(oci_connect($user, $password));
}
?>
===DONE===
<?php exit(0); ?>

View File

@ -31,7 +31,7 @@ if (!empty($dbase)) {
else {
var_dump(oci_connect($user, $password));
}
?>
===DONE===
<?php exit(0); ?>

View File

@ -24,7 +24,7 @@ if (!empty($dbase)) {
else {
var_dump(ocilogon($user, $password));
}
?>
===DONE===
<?php exit(0); ?>

View File

@ -31,7 +31,7 @@ if (!empty($dbase)) {
else {
var_dump(ocilogon($user, $password));
}
?>
===DONE===
<?php exit(0); ?>

View File

@ -15,7 +15,7 @@ if (!empty($dbase)) {
else {
oci_connect($user, $password);
}
oci_internal_debug(false);
?>

View File

@ -44,7 +44,7 @@ $stmtarray = array(
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--

View File

@ -44,7 +44,7 @@ $stmtarray = array(
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--

View File

@ -45,7 +45,7 @@ $stmtarray = array(
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--

View File

@ -14,7 +14,7 @@ $stmtarray = array(
"drop table phptestrawtable",
"create table phptestrawtable( id number(10), fileimage raw(1000))"
);
oci8_test_sql_execute($c, $stmtarray);
$stmt = oci_parse ($c, "insert into phptestrawtable (id, fileimage) values (:id, :fileimage)");

View File

@ -14,7 +14,7 @@ $stmtarray = array(
"drop table phpdefblobtable",
"create table phpdefblobtable (id number(10), fileimage blob)"
);
oci8_test_sql_execute($c, $stmtarray);
// Load data
@ -78,7 +78,7 @@ while (oci_fetch($stmt)) {
$stmtarray = array(
"drop table phpdefblobtable"
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";

View File

@ -41,7 +41,7 @@ require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
array(1) {
["BLOB"]=>
object(OCI-Lob)#%d (1) {

View File

@ -92,7 +92,7 @@ foreach ($values_array as $val ) {
if ($c1) {
get_edit_attr($c1);
oci_close($c1);
}
}
}
echo "\n\n**Test 1.5 - Negative case with an invalid string value. *********\n";

View File

@ -15,7 +15,7 @@ var_dump(oci_fetch_array($stmt));
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_execute(): ORA-00942: %s in %s on line %d
bool(false)

View File

@ -14,6 +14,6 @@ oci_execute($stmt, -1);
echo "Done\n";
?>
--EXPECTF--
--EXPECTF--
Warning: oci_execute(): Invalid execute mode given: -1 in %s on line %d
Done

View File

@ -43,7 +43,7 @@ $stmtarray = array(
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--

View File

@ -45,7 +45,7 @@ $stmtarray = array(
);
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
?>
--EXPECT--

View File

@ -50,7 +50,7 @@ var_dump(oci_fetch_all($s, $all, 0, 1, OCI_BOTH));
var_dump($all);
require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECT--

View File

@ -97,7 +97,7 @@ while ($row = oci_fetch_array($s, OCI_NUM+OCI_RETURN_NULLS)) {
}
require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECT--

View File

@ -58,7 +58,7 @@ var_dump(ocifetchinto($s, $all, OCI_NUM+OCI_RETURN_NULLS+OCI_RETURN_LOBS));
var_dump($all);
require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECT--

View File

@ -46,7 +46,7 @@ var_dump(ocifetchinto($s, $all, 1000000));
var_dump($all);
require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECTF--

Some files were not shown because too many files have changed in this diff Show More