php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52697 [FR] set_error_handler - mismatch for the return value of the callback
Submitted: 2010-08-25 15:52 UTC Modified: 2010-09-07 05:21 UTC
From: suisse00 at gmail dot com Assigned: pierrick (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2010-08-25 15:52 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-26 14:51 UTC] 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
 [2010-08-26 14:51 UTC] suisse00 at gmail dot com
Title/bug type changed to use the same syntax/type as others translations problems.
 [2010-09-07 05:21 UTC] pierrick@php.net
Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=303123
Log: Fixed bug #52697
 [2010-09-07 05:21 UTC] pierrick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 [2010-09-07 05:21 UTC] pierrick@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.


 [2020-12-30 12:49 UTC] nikic@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=e249cda95d3e69a24e288976e16c72dc7ebaeb4c
Log: Fixed bug #52697
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 05:01:27 2024 UTC