From: Anatol Belski Date: Sat, 16 Apr 2016 14:11:22 +0000 (+0200) Subject: Add test for bug #72028 X-Git-Tag: php-7.0.7RC1~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd6f7b83411819361d89fa53247e6f1cb2683cd4;p=php Add test for bug #72028 --- diff --git a/ext/pgsql/tests/bug72028.phpt b/ext/pgsql/tests/bug72028.phpt new file mode 100644 index 0000000000..217a03abc7 --- /dev/null +++ b/ext/pgsql/tests/bug72028.phpt @@ -0,0 +1,52 @@ +--TEST-- +Bug #72028 pg_query_params(): NULL converts to empty string +--SKIPIF-- + +--FILE-- + +==DONE== +--EXPECT-- +array(2) { + ["value"]=> + NULL + ["details"]=> + string(38) "insert before looping with a reference" +} +array(2) { + ["value"]=> + NULL + ["details"]=> + string(37) "insert after looping with a reference" +} +==DONE==