Closed
Description
In #77 checks for ArithmeticError were added, however I don't think that native division (eg. $x / $y
) can actually throw this. #77 (comment) mentions only two ways to get the error:
- intdiv(PHP_INT_MIN, -1);
- 1 << -3;
And the PHP docs for ArithmeticError don't mention anything about native division.
If it's not possible for it to be thrown here, maybe we shouldn't be reporting it as an issue?
Metadata
Metadata
Assignees
Labels
No labels