diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-01-06 20:07:07 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-01-06 20:07:07 +0000 |
commit | d4c19ed2d2632337307b984d7825493252dd785f (patch) | |
tree | a2e6f6309767a384946bee09742c1ffa0b801b6a /ext/standard/tests/strings/bug26819.phpt | |
parent | d900d737638380e5d96c8bae9e297b5da868f346 (diff) | |
download | php-git-d4c19ed2d2632337307b984d7825493252dd785f.tar.gz |
Fixed bug #26819 (http_build_query() crashes on NULL output).
Fixed bug #26817 (http_build_query() does not handle private & protected
object properties correctly).
Diffstat (limited to 'ext/standard/tests/strings/bug26819.phpt')
-rw-r--r-- | ext/standard/tests/strings/bug26819.phpt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/standard/tests/strings/bug26819.phpt b/ext/standard/tests/strings/bug26819.phpt new file mode 100644 index 0000000000..4a53539434 --- /dev/null +++ b/ext/standard/tests/strings/bug26819.phpt @@ -0,0 +1,9 @@ +--TEST-- +Bug #26819 (http_build_query() crash on empty output) +--FILE-- +<?php +$a = array(); +var_dump(http_build_query($a)); +?> +--EXPECT-- +NULL |