HH\Lib\Legacy_FIXME\cast_for_exponent
Does the PHP style behaviour for casting when doing an exponentiation
namespace HH\Lib\Legacy_FIXME;
function cast_for_exponent(
mixed $value,
): dynamic;
That happens under the following situations
- function pointers, and arrays get converted to 0
- see castForArithmatic
Parameters
mixed $value
Returns
dynamic