Req #52697 [Opn->Csd]: [FR] set_error_handler - mismatch for the return value of the callback

From: Date: Tue, 07 Sep 2010 03:21:28 +0000
Subject: Req #52697 [Opn->Csd]: [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-4985@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 Updated by: pierrick@php.net Reported by: suisse00 at gmail dot com Summary: [FR] set_error_handler - mismatch for the return value of the callback -Status: Open +Status: Closed Type: Feature/Change Request Package: Translation problem PHP Version: Irrelevant -Assigned To: +Assigned To: pierrick Block user comment: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2010-09-07 05:21:19] 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-08-26 14:51:52] suisse00 at gmail dot com Title/bug type changed to use the same syntax/type as others translations problems. ------------------------------------------------------------------------ [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

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