php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71307 [FR] Exception::__construct() now accepts Throwable
Submitted: 2016-01-08 00:27 UTC Modified: 2016-04-24 04:33 UTC
From: benjamin dot morel at gmail dot com Assigned: pierrick (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: benjamin dot morel at gmail dot com
New email:
PHP Version: OS:

 

 [2016-01-08 00:27 UTC] benjamin dot morel at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/exception.construct
---

French version has not been updated to accept Throwable. Other languages might be lagging behind the English version as well.

Expected result:
----------------
public __construct ([ string $message = "" [, int $code = 0 [, Throwable $previous = NULL ]]] )

Actual result:
--------------
public __construct ([ string $message = "" [, int $code = 0 [, Exception $previous = NULL ]]] )

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-08 08:57 UTC] salathe@php.net
-Summary: Exception::__construct() now accepts Throwable +Summary: [FR] Exception::__construct() now accepts Throwable
 [2016-04-24 04:32 UTC] pierrick@php.net
Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=339069
Log: Fixed bug #71307  Exception::__construct() now accepts Throwable
 [2016-04-24 04:33 UTC] pierrick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 [2020-12-30 12:48 UTC] nikic@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=253c9eae7d8e4175500686b51dc623f6a0d76392
Log: Fixed bug #71307  Exception::__construct() now accepts Throwable
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 09:00:02 2026 UTC