This is available as Legacy_FIXME\eq
in the www repository.
Does the PHP style behaviour when doing == or ===
namespace HH\Lib\Legacy_FIXME;
function eq(
mixed $l,
mixed $r,
): bool;
tl/dr this involves a lot of potential implicit coercions. see __cast_and_compare for the complete picture.
mixed $l
mixed $r
bool