From: Georg Richter Date: Thu, 13 Feb 2003 01:23:28 +0000 (+0000) Subject: new tests X-Git-Tag: RELEASE_0_5~1068 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bddc369660c9f39582c940e058daa9330ee1bea;p=php new tests --- diff --git a/ext/mysqli/tests/042.phpt b/ext/mysqli/tests/042.phpt new file mode 100644 index 0000000000..e119bc469a --- /dev/null +++ b/ext/mysqli/tests/042.phpt @@ -0,0 +1,61 @@ +--TEST-- +mysqli_fetch_object +--FILE-- + +--EXPECT-- +object()(7) { + ["c1"]=> + string(1) "0" + ["c2"]=> + string(5) "35999" + ["c3"]=> + NULL + ["c4"]=> + string(4) "-500" + ["c5"]=> + string(6) "-32768" + ["c6"]=> + string(1) "0" + ["c7"]=> + string(1) "0" +} diff --git a/ext/mysqli/tests/043.phpt b/ext/mysqli/tests/043.phpt new file mode 100644 index 0000000000..9c02c32c1a --- /dev/null +++ b/ext/mysqli/tests/043.phpt @@ -0,0 +1,40 @@ +--TEST-- +mysqli_bind_param (UPDATE) +--FILE-- + +--EXPECT-- +array(1) { + [0]=> + string(15) "Rasmus is No. 1" +} diff --git a/ext/mysqli/tests/044.phpt b/ext/mysqli/tests/044.phpt new file mode 100644 index 0000000000..5f72f65e38 --- /dev/null +++ b/ext/mysqli/tests/044.phpt @@ -0,0 +1,19 @@ +--TEST-- +mysqli_get_server_version +--FILE-- + +--EXPECT-- +int(1)