mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 02:02:40 +01:00
239ad5c55d
Summary: Ref T13588. The behavior of "call_user_func_array()" has changed in PHP8, and the function now attempts to use array keys as argument names. This always fails when calling "array_merge()" (which does not accept named parameters), and may cause misbehavior in the general case. Guarantee the argument is a natural list (with keys "0", "1", "2", ...). Test Plan: - Behavior unchanged under PHP7. - User reports fixed behavior under PHP8, see <https://discourse.phabricator-community.org/t/daemon-fails-on-php-8-0-2-in-utils-php-array-merge-call-w-fix/4568>. - See T13588. Maniphest Tasks: T13588 Differential Revision: https://secure.phabricator.com/D21551 |
||
---|---|---|
.. | ||
__tests__ | ||
AbstractDirectedGraph.php | ||
CaseInsensitiveArray.php | ||
PhutilArray.php | ||
PhutilArrayCheck.php | ||
PhutilArrayWithDefaultValue.php | ||
PhutilBufferedIterator.php | ||
PhutilCallbackFilterIterator.php | ||
PhutilChunkedIterator.php | ||
PhutilCowsay.php | ||
PhutilDirectedScalarGraph.php | ||
PhutilEditDistanceMatrix.php | ||
PhutilExampleBufferedIterator.php | ||
PhutilExecutionEnvironment.php | ||
PhutilHashingIterator.php | ||
PhutilLunarPhase.php | ||
PhutilProxyIterator.php | ||
PhutilRope.php | ||
PhutilSortVector.php | ||
PhutilStreamIterator.php | ||
PhutilSystem.php | ||
PhutilUTF8StringTruncator.php | ||
utf8.php | ||
utils.php | ||
viewutils.php |