(PHP 7, PHP 8)
當執行數學(xué)運算發(fā)生錯誤時(shí)拋出 ArithmeticError 。 這些錯誤包括嘗試執行負數的位移,以及對任何可能會(huì )導致值超出 int 的范圍 intdiv() 調用。