diff --git a/reference/url/functions/http-build-query.xml b/reference/url/functions/http-build-query.xml index c416f93522..7a0e219d48 100644 --- a/reference/url/functions/http-build-query.xml +++ b/reference/url/functions/http-build-query.xml @@ -109,6 +109,7 @@ $data = array( 'foo' => 'bar', 'baz' => 'boom', 'cow' => 'milk', + 'null' => null, 'php' => 'hypertext processor' ); @@ -132,7 +133,7 @@ foo=bar&baz=boom&cow=milk&php=hypertext+processor 'milk', 'php' => 'hypertext processor'); +$data = array('foo', 'bar', 'baz', null, 'boom', 'cow' => 'milk', 'php' => 'hypertext processor'); echo http_build_query($data) . "\n"; echo http_build_query($data, 'myvar_'); @@ -142,8 +143,8 @@ echo http_build_query($data, 'myvar_'); &example.outputs;