From: Marcus Boerger Date: Sat, 19 Apr 2003 10:36:58 +0000 (+0000) Subject: Add test for different result representations X-Git-Tag: SPL_ALPHA~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f97e66ba5b585ff8a679ed6ed7acfaafc3e7e20;p=php Add test for different result representations --- diff --git a/ext/sqlite/tests/sqlite_003.phpt b/ext/sqlite/tests/sqlite_003.phpt new file mode 100755 index 0000000000..4ae38b33d6 --- /dev/null +++ b/ext/sqlite/tests/sqlite_003.phpt @@ -0,0 +1,49 @@ +--TEST-- +sqlite: Simple insert/select, different result represenatation +--SKIPIF-- + +--FILE-- + +--EXPECT-- +array(6) { + [0]=> + string(10) "2002-01-02" + ["c1"]=> + string(10) "2002-01-02" + [1]=> + string(8) "12:49:00" + ["c2"]=> + string(8) "12:49:00" + [2]=> + NULL + ["c3"]=> + NULL +} +array(3) { + [0]=> + string(10) "2002-01-02" + [1]=> + string(8) "12:49:00" + [2]=> + NULL +} +array(3) { + ["c1"]=> + string(10) "2002-01-02" + ["c2"]=> + string(8) "12:49:00" + ["c3"]=> + NULL +}