Doc #77301 [Asn->Csd]: [FR] The new function prototype for PHP 7.3 setcookie is missing in doc
| From: | jbnahan@php.net | Date: | Thu, 27 Dec 2018 23:07:03 +0000 |
| Subject: | Doc #77301 [Asn->Csd]: [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-16244@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
Updated 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: Assigned
+Status: Closed
Type: Documentation Problem
Package: Translation problem
Operating System: any
PHP Version: 7.3.0
Assigned To: jbnahan
Block user comment: N
Private report: N
New Comment:
Fixed !
Previous Comments:
------------------------------------------------------------------------
[2018-12-27 23:06:43] jbnahan@php.net
Automatic comment from SVN on behalf of jbnahan
Revision: http://svn.php.net/viewvc/?view=revision&revision=346437
Log: Updated setcookie function to describe the new PHP 7.3 signature.
This patch closes documentation bug 77301
--
Provided by anonymous 95384 ()
------------------------------------------------------------------------
[2018-12-27 22:14:38] jbnahan@php.net
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.
------------------------------------------------------------------------
[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