June 2017
Intermediate to advanced
536 pages
9h 49m
English
Division by zero is an undefined mathematical expression, at least in elementary arithmetic; hence, PHP needed a way to respond to such cases. DivisionByZeroError is thrown when we try to divide a number by zero.
The DivisionByZeroError class has no methods of its own, they are all inherited from the parent ArithmeticError class, as per the following class synopsis:
DivisionByZeroError extends ArithmeticError { 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 ...Read now
Unlock full access