1--TEST--
2Test http_build_query() function: usage variations - testing four parameter added in PHP 5.4.0
3--CREDITS--
4Adam Gegotek <adam [dot] gegotek [at] gmail [dot] com>
5--FILE--
6<?php
7$oDimensional = array(
8  "name" => "main page",
9  "sort" => "desc,admin",
10  "equation" => "10 + 10 - 5"
11);
12
13echo http_build_query($oDimensional, '', ini_get('arg_separator.output'), PHP_QUERY_RFC1738) . PHP_EOL;
14echo http_build_query($oDimensional, '', ini_get('arg_separator.output'), PHP_QUERY_RFC3986);
15?>
16--EXPECT--
17name=main+page&sort=desc%2Cadmin&equation=10+%2B+10+-+5
18name=main%20page&sort=desc%2Cadmin&equation=10%20%2B%2010%20-%205
19