Bug #62340 [NEW]: Language dependend differing constructor definition

From: Date: Sun, 17 Jun 2012 08:33:11 +0000
Subject: Bug #62340 [NEW]: Language dependend differing constructor definition
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8473@lists.php.net to get a copy of this message
From:             werner at mueller-elflein dot de
Operating system: n/a
PHP version:      Irrelevant
Package:          Documentation problem
Bug Type:         Bug
Bug description:Language dependend differing constructor definition

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.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=62340&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=62340&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=62340&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=62340&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=62340&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62340&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=62340&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=62340&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=62340&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=62340&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=62340&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=62340&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=62340&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=62340&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=62340&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=62340&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62340&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=62340&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=62340&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=62340&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=62340&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=62340&r=mysqlcfg



Thread (2 messages)

« previous php.doc.bugs (#8473) next »