php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #62340 [DE] Language dependend differing constructor definition
Submitted: 2012-06-17 08:33 UTC Modified: 2012-06-19 18:06 UTC
From: werner at mueller-elflein dot de Assigned: nikic (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
 [2012-06-17 08:33 UTC] werner at mueller-elflein dot de
Description:
------------
---
From manual page: http://www.php.net/errorexception.construct#refsect1-errorexception.construct-description
---

The description of class ErrorExceptions differs (at least) between German and English language.

English:

public __construct ([ string $message = "" [, int $code = 0 [, int $severity = 1 [, string $filename = __FILE__ [, int $lineno = __LINE__ [, Exception $previous = NULL ]]]]]] )

German:

public __construct ([ string $message [, int $code [, int $severity [, string $filename [, int $lineno ]]]]] )

What happened with param $previous?

Test script:
---------------
see above

Expected result:
----------------
Correct description of constructor params, independend of selected language.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-17 10:18 UTC] nikic@php.net
-Summary: Language dependend differing constructor definition +Summary: [DE] Language dependend differing constructor definition -Package: Documentation problem +Package: Translation problem
 [2012-06-19 18:05 UTC] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&revision=326253
Log: Fix doc bug #62340: Language dependend differing constructor definition
 [2012-06-19 18:06 UTC] nikic@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.


 [2012-06-19 18:06 UTC] nikic@php.net
-Status: Open +Status: Closed -Type: Bug +Type: Documentation Problem -Assigned To: +Assigned To: nikic
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 20:01:34 2024 UTC