summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/bind_number.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/bind_number.phpt')
-rw-r--r--ext/oci8/tests/bind_number.phpt30
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/oci8/tests/bind_number.phpt b/ext/oci8/tests/bind_number.phpt
index 298f487f85..851f2da605 100644
--- a/ext/oci8/tests/bind_number.phpt
+++ b/ext/oci8/tests/bind_number.phpt
@@ -14,26 +14,26 @@ require(__DIR__.'/connect.inc');
// Initialization
$stmtarray = array(
- "drop table bind_number_tab",
- "create table bind_number_tab (
- id number,
- number_t6 number(6),
- float_t float,
- binary_float_t binary_float,
- binary_double_t binary_double,
- decimal_t decimal,
- integer_t integer)"
+ "drop table bind_number_tab",
+ "create table bind_number_tab (
+ id number,
+ number_t6 number(6),
+ float_t float,
+ binary_float_t binary_float,
+ binary_double_t binary_double,
+ decimal_t decimal,
+ integer_t integer)"
);
oci8_test_sql_execute($c, $stmtarray);
function check_col($c, $colname, $id)
{
- $s = oci_parse($c, "select $colname from bind_number_tab where id = :id");
- oci_bind_by_name($s, ":id", $id);
- oci_execute($s);
- oci_fetch_all($s, $r);
- var_dump($r);
+ $s = oci_parse($c, "select $colname from bind_number_tab where id = :id");
+ oci_bind_by_name($s, ":id", $id);
+ oci_execute($s);
+ oci_fetch_all($s, $r);
+ var_dump($r);
}
// Run Test
@@ -123,7 +123,7 @@ check_col($c, 'integer_t', 76);
// Clean up
$stmtarray = array(
- "drop table bind_number_tab"
+ "drop table bind_number_tab"
);
oci8_test_sql_execute($c, $stmtarray);