Doc #79954 [Ver->Csd]: [FR] ob_start manual: callback prototype differs between translations

From: Date: Sat, 19 Sep 2020 14:47:22 +0000
Subject: Doc #79954 [Ver->Csd]: [FR] ob_start manual: callback prototype differs between translations
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17899@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79954&edit=1

 ID:                 79954
 Updated by:         girgias@php.net
 Reported by:        geompse at gmail dot com
 Summary:            [FR] ob_start manual: callback prototype differs
                     between translations
-Status:             Verified
+Status:             Closed
 Type:               Documentation Problem
 Package:            Translation problem
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        girgias
 Block user comment: N
 Private report:     N

 New Comment:

Fixed in SVN revision 350577 https://svn.php.net/viewvc?view=revision&sortby=date&revision=350577


Previous Comments:
------------------------------------------------------------------------
[2020-08-11 12:50:44] geompse at gmail dot com

Description:
------------
---
From manual page: https://php.net/function.ob-start
---

Prototype found under the "output_callback" parameter's description is invalid.
Return type differs.
English version " : string" ; French version " : bool"
" : string" is the correct one, for it is the new value of "string $buffer"

This is a very minor issue but I lost a few minutes so it might help others.

Thank you.

Test script:
---------------
handler ( string $buffer [, int $phase ] ) : string /* English version: https://www.php.net/manual/en/function.ob-start.php
*/

handler ( string $buffer [, int $phase ] ) : bool /* French version: https://www.php.net/manual/fr/function.ob-start.php
*/ 

Expected result:
----------------
handler ( string $buffer [, int $phase ] ) : string


Actual result:
--------------
handler ( string $buffer [, int $phase ] ) : bool


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=79954&edit=1


Thread (3 messages)

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