array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'class.arithmeticerror.php', 1 => 'ArithmeticError', ), 'up' => array ( 0 => 'reserved.exceptions.php', 1 => 'Vordefinierte Exceptions', ), 'prev' => array ( 0 => 'class.argumentcounterror.php', 1 => 'ArgumentCountError', ), 'next' => array ( 0 => 'class.assertionerror.php', 1 => 'AssertionError', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'de', 'path' => 'language/predefined/arithmeticerror.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7, PHP 8)
ArithmeticError wird geworfen, wenn bei einer mathematischen Operation ein Fehler auftritt. Das ist z. B. der Fall, wenn versucht wird, eine Bitverschiebung um einen negativen Betrag durchzuführen, oder wenn ein Aufruf von intdiv() zu einem Wert außerhalb des möglichen Bereichs von int führen würde.