Page MenuHomePhabricator

PHP Warning: http_build_query() expects at most 3 parameters, 4 given in MultiHttpClient.php on line 182
Closed, ResolvedPublic

Description

PHP Warning: http_build_query() expects at most 3 parameters, 4 given in /usr/local/apache/common-local/php-1.23wmf10/includes/libs/MultiHttpClient.php on line 182


Version: unspecified
Severity: minor

Details

Reference
bz59880

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:33 AM
bzimport set Reference to bz59880.
bzimport added a subscriber: Unknown Object (MLST).

Quite a few of these spewing out

$query = http_build_query( $req['query'], '', '&', PHP_QUERY_RFC3986 );

function http_build_query (array $formdata, $numeric_prefix = null, $arg_separator = null, $enc_type = PHP_QUERY_RFC1738) {}

http://www.php.net/manual/en/function.http-build-query.php

PHP 5.4 - The enc_type parameter was added.

Appears to have been fixed in gerrit 106624.

(In reply to comment #4)

Appears to have been fixed in Gerrit change #106624.

Thanks, I thought I linked that in a comment here...