cvs: php-src /ext/interbase/tests 006.phpt

From: Date: Wed, 03 Sep 2003 15:24:51 +0000
Subject: cvs: php-src /ext/interbase/tests 006.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23608@lists.php.net to get a copy of this message
abies Wed Sep 3 11:24:51 2003 EDT Modified files: /php-src/ext/interbase/tests 006.phpt Log: Test correct binding of 16-bit NUMERIC parameters Index: php-src/ext/interbase/tests/006.phpt diff -u php-src/ext/interbase/tests/006.phpt:1.4 php-src/ext/interbase/tests/006.phpt:1.5 --- php-src/ext/interbase/tests/006.phpt:1.4 Wed Aug 27 20:18:27 2003 +++ php-src/ext/interbase/tests/006.phpt Wed Sep 3 11:24:50 2003 @@ -89,6 +89,21 @@ 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)*/

« previous php.cvs (#23608) next »