Doc #60474 [NEW]: method signature of Exception::getCode different in en and de
| From: | hairmare at purplehaze dot ch | Date: | Thu, 08 Dec 2011 16:25:37 +0000 |
| Subject: | Doc #60474 [NEW]: method signature of Exception::getCode different in en and de | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-7627@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: 5.3.8
Package: Translation problem
Bug Type: Documentation Problem
Bug description:method signature of Exception::getCode different in en and de
Description:
------------
The signature of the Exception::getCode Method differs from the english
translation in the german one.
On http://php.net/manual/en/class.exception.php
the signature is lke so:
final public int Exception::getCode ( void )
On http://php.net/manual/de/class.exception.php
the signature is like so:
final public mixed Exception::getCode ( void )
The return value of the method is given as int in the english version and
mixed in the german version. I believe that it should be int in both but
wasn't able to verify that in the code.
--
Edit bug report at https://bugs.php.net/bug.php?id=60474&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60474&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60474&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60474&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=60474&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60474&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=60474&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=60474&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=60474&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=60474&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=60474&r=support
Expected behavior: https://bugs.php.net/fix.php?id=60474&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=60474&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=60474&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=60474&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60474&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60474&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=60474&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=60474&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=60474&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=60474&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=60474&r=mysqlcfg