Steps to Reproduce:
Run:
(-[])===(-[])
Actual Results:
{ "error": { "code": "internal_api_error_Error", "info": "[XcH85gpAIDgAAKzMO6QAAABQ] Caught exception of type Error", "errorclass": "Error" }, "servedby": "mw1344" }
Expected Results:
true
Discussion:
https://phabricator.wikimedia.org/diffusion/EABF/browse/master/includes/parser/AFPData.php$232-233 is incorrect. With the way it currently is, it's possible to construct a value of type DARRAY whose value is actually a float. So when we do operations that expect a DARRAY, an error occurs.