|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-07-28 18:12 UTC] jrbeaure at uvm dot edu
-Status: Open
+Status: Closed
[2011-07-28 18:12 UTC] jrbeaure at uvm dot edu
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
Description: ------------ When using the flag HTTP_URL_JOIN_QUERY, the function http_build_url fails issuing a warning when there is more than one query argument to join and the php.ini directive arg_separator.output is not in the format of an html entity. Test script: --------------- <?php ini_set('arg_separator.output','&'); $result = http_build_url( 'http://example.com/?a=b', array('query' => 'c=d'), HTTP_URL_JOIN_QUERY ); ?> Expected Result: http://example.com/?a=b&c=d Actual Result: <?php echo $result; ?> Expected result: ---------------- Expected Result: http://example.com/?a=b&c=d Actual Result: http://example.com/?a=b&c=d Actual result: -------------- Expected Result: http://example.com/?a=b&c=d Actual Result: http://example.com/?a=b