Doc #77301 [Com]: [FR] The new function prototype for PHP 7.3 setcookie is missing in doc
| From: | jbnahan@php.net | Date: | Thu, 27 Dec 2018 22:14:39 +0000 |
| Subject: | Doc #77301 [Com]: [FR] The new function prototype for PHP 7.3 setcookie is missing in doc | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16239@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77301&edit=1
ID: 77301
Comment by: jbnahan@php.net
Reported by: schubhan at gmail dot com
Summary: [FR] The new function prototype for PHP 7.3
setcookie is missing in doc
Status: Open
Type: Documentation Problem
Package: Translation problem
Operating System: any
PHP Version: 7.3.0
Block user comment: N
Private report: N
New Comment:
Hi,
Thanks for the message, I'm a French translator for the PHP documentation. Our need always new
volunteers for correct, update and translate the documentation.
For help and correct quickly the documentation, can you provide a patch with the online editor at https://edit.php.net ?
A video tutorial in French for help you to use the online editor: https://www.youtube.com/watch?v=HLAuzZh2GVo
Or the correct sentence translation here.
Thanks in advance.
Previous Comments:
------------------------------------------------------------------------
[2018-12-15 00:02:09] schubhan at gmail dot com
Description:
------------
In French version
The new function prototype of setcookie release with PHP 7.3 is missing in doc,
Watch English version
The same for function "setrawcookie"
---
From manual page: https://php.net/function.setcookie
---
Expected result:
----------------
In french :
bool setcookie ( string $name [, string $value = "" [, array $options = [] ]] )
options
An associative array which may have any of the keys expires, path, domain, secure, httponly and
samesite. The values have the same meaning as described for the parameters with the same name. The
value of the samesite element should be either Lax or Strict. If any of the allowed options are not
given, their default values are the same as the default values of the explicit parameters. If the
samesite element is omitted, no SameSite cookie attribute is set.
Changelog ¶
Version Description
7.3.0 An alternative signature supporting an options array has been added. This signature supports
also setting of the SameSite cookie attribute.
Actual result:
--------------
Nothing about php 7.3
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77301&edit=1