From 6bddc369660c9f39582c940e058daa9330ee1bea Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Thu, 13 Feb 2003 01:23:28 +0000 Subject: [PATCH] new tests --- ext/mysqli/tests/042.phpt | 61 +++++++++++++++++++++++++++++++++++++++ ext/mysqli/tests/043.phpt | 40 +++++++++++++++++++++++++ ext/mysqli/tests/044.phpt | 19 ++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 ext/mysqli/tests/042.phpt create mode 100644 ext/mysqli/tests/043.phpt create mode 100644 ext/mysqli/tests/044.phpt 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) -- 2.50.1