Req #52697 [Opn]: [FR] set_error_handler - mismatch for the return value of the callback
| From: | suisse00 at gmail dot com | Date: | Thu, 26 Aug 2010 12:51:52 +0000 |
| Subject: | Req #52697 [Opn]: [FR] set_error_handler - mismatch for the return value of the callback | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4934@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52697&edit=1
ID: 52697
User updated by: suisse00 at gmail dot com
Reported by: suisse00 at gmail dot com
-Summary: set_error_handler - mismatch for the return value of
the callback in fr
+Summary: [FR] set_error_handler - mismatch for the return
value of the callback
Status: Open
Type: Feature/Change Request
Package: Translation problem
PHP Version: Irrelevant
Block user comment: N
New Comment:
Title/bug type changed to use the same syntax/type as others
translations problems.
Previous Comments:
------------------------------------------------------------------------
[2010-08-25 15:52:53] suisse00 at gmail dot com
Description:
------------
The french version of the set_error_handler function doesn't match the
behavior of the return value of the callback describe in the english
version. (However, the sample in the french version is ok)
The english version explain that the PHP internal error handler will be
bypass "unless" you return FALSE when the french version describe it as
: the internal PHP error handler will not handler errors "until"[when]
your callblack return FALSE
Expected result:
----------------
Il faut se rappeler que la fonction standard de traitement des erreurs
de PHP est alors complètement ignorée pour les erreurs de types
spécifiés par error_types à moins que la fonction de rappel retourne
FALSE.
Actual result:
--------------
Il faut se rappeler que la fonction standard de traitement des erreurs
de PHP est alors complètement ignorée pour les erreurs de types
spécifiés par error_types tant que la fonction de rappel retourne
FALSE.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52697&edit=1