From c836bf603626e6990eecdf8278fc0cd932f1fc5f Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sat, 6 Sep 2003 19:40:53 +0000 Subject: [PATCH] test for helly's mysqli_fetch_object changes --- ext/mysqli/tests/060.phpt | 57 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 ext/mysqli/tests/060.phpt diff --git a/ext/mysqli/tests/060.phpt b/ext/mysqli/tests/060.phpt new file mode 100644 index 00000000000..f7afaa7e1a8 --- /dev/null +++ b/ext/mysqli/tests/060.phpt @@ -0,0 +1,57 @@ +--TEST-- +mysqli_fetch_object with classes +--FILE-- + +--EXPECTF-- +test_class::__construct(1,2) +object(test_class)#%d (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" +} +Done