summaryrefslogtreecommitdiff
path: root/ext/interbase
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-09-03 15:24:50 +0000
committerArd Biesheuvel <abies@php.net>2003-09-03 15:24:50 +0000
commit804312c4a1de337987bd5fde12c8813d0f2a1049 (patch)
tree8236802e12ccc5b6fc2fc73d6247cb382c78eaaa /ext/interbase
parentb3b68834b5eef579883b40c93bfd7f86c0166914 (diff)
downloadphp-git-804312c4a1de337987bd5fde12c8813d0f2a1049.tar.gz
Test correct binding of 16-bit NUMERIC parameters
Diffstat (limited to 'ext/interbase')
-rw-r--r--ext/interbase/tests/006.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/interbase/tests/006.phpt b/ext/interbase/tests/006.phpt
index 03abba8b87..cfbb83a0ed 100644
--- a/ext/interbase/tests/006.phpt
+++ b/ext/interbase/tests/006.phpt
@@ -89,6 +89,21 @@ InterBase: binding (may take a while)
echo " in: $v_integer\n";
echo " out: $row->V_INTEGER\n";
}
+ if ($row->V_NUMERIC != $v_numeric){
+ echo " NUMERIC fail\n";
+ echo " in: $v_numeric\n";
+ echo " out: $row->V_NUMERIC\n";
+ }
+ if ($row->V_SMALLINT != $v_smallint){
+ echo " SMALLINT fail\n";
+ echo " in: $v_smallint\n";
+ echo " out: $row->V_SMALLINT\n";
+ }
+ if ($row->V_VARCHAR != $v_varchar){
+ echo " VARCHAR fail:\n";
+ echo " in: $v_varchar\n";
+ echo " out: $row->V_VARCHAR\n";
+ }
ibase_free_result($sel);
}/* for($iter)*/