June 2017
Intermediate to advanced
536 pages
9h 49m
English
The ArithmeticError class addresses the possibly faulty outcomes of performing mathematical operations. PHP uses it for two situations--bit shifting by a negative number or calling intdiv() with a dividend of PHP_INT_MIN and a divisor of -1.
The ArithmeticError class has no methods of its own; they are all inherited from the parent Error class, as per the following class synopsis:
ArithmeticError extends Error { final public string Error::getMessage (void) final public Throwable Error::getPrevious (void) final public mixed Error::getCode (void) final public string Error::getFile (void) final public int Error::getLine (void) final public array Error::getTrace (void) final public string Error::getTraceAsString (void) public ...