summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/bug42134.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/bug42134.phpt')
-rw-r--r--ext/oci8/tests/bug42134.phpt30
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/oci8/tests/bug42134.phpt b/ext/oci8/tests/bug42134.phpt
index d1e0b97c84..13273cff8f 100644
--- a/ext/oci8/tests/bug42134.phpt
+++ b/ext/oci8/tests/bug42134.phpt
@@ -13,49 +13,49 @@ require(__DIR__.'/details.inc');
// Test collection creation error for normal connection
if (!empty($dbase)) {
- $c = oci_connect($user,$password,$dbase);
+ $c = oci_connect($user,$password,$dbase);
}
else {
- $c = oci_connect($user,$password);
+ $c = oci_connect($user,$password);
}
$collection = oci_new_collection($c, "ABC");
if (!$collection) {
- echo "Normal connection: New Collection error\n";
- $m = oci_error($c);
- var_dump($m);
+ echo "Normal connection: New Collection error\n";
+ $m = oci_error($c);
+ var_dump($m);
}
// Test collection creation error for new connection
if (!empty($dbase)) {
- $c = oci_new_connect($user,$password,$dbase);
+ $c = oci_new_connect($user,$password,$dbase);
}
else {
- $c = oci_new_connect($user,$password);
+ $c = oci_new_connect($user,$password);
}
$collection = oci_new_collection($c, "DEF");
if (!$collection) {
- echo "New connection: New Collection error\n";
- $m = oci_error($c);
- var_dump($m);
+ echo "New connection: New Collection error\n";
+ $m = oci_error($c);
+ var_dump($m);
}
// Test collection creation error for persistent connection
if (!empty($dbase)) {
- $c = oci_pconnect($user,$password,$dbase);
+ $c = oci_pconnect($user,$password,$dbase);
}
else {
- $c = oci_pconnect($user,$password);
+ $c = oci_pconnect($user,$password);
}
$collection = oci_new_collection($c, "GHI");
if (!$collection) {
- echo "Persistent connection: New Collection error\n";
- $m = oci_error($c);
- var_dump($m);
+ echo "Persistent connection: New Collection error\n";
+ $m = oci_error($c);
+ var_dump($m);
}
echo "Done\n";