php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71068 DivisionByZeroError is not direct subclass of Error
Submitted: 2015-12-08 22:57 UTC Modified: 2015-12-08 22:59 UTC
From: takagi@php.net Assigned: takagi (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: takagi@php.net
New email:
PHP Version: OS:

 

 [2015-12-08 22:57 UTC] takagi@php.net
Description:
------------
> http://php.net/DivisionByZeroError
> http://php.net/manual/en/language.errors.php7.php

DivisionByZeroError is not direct subclass of Error.

It's subclass of ArithmeticError.
 https://github.com/php/php-src/blob/PHP-7.0.0/Zend/zend_exceptions.c#L900



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-08 22:58 UTC] takagi@php.net
Automatic comment from SVN on behalf of takagi
Revision: http://svn.php.net/viewvc/?view=revision&revision=338227
Log: Fix #71068

DivisionByZeroError is not direct subclass of Error
 [2015-12-08 22:59 UTC] takagi@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: takagi
 [2015-12-08 22:59 UTC] takagi@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of takagi
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=f956ef27f76c9f2dcc4e3d3b7050ded1cd020456
Log: Fix #71068
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 23:01:30 2024 UTC