php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #77301 [FR] The new function prototype for PHP 7.3 setcookie is missing in doc
Submitted: 2018-12-15 00:02 UTC Modified: 2018-12-27 23:07 UTC
From: schubhan at gmail dot com Assigned: jbnahan (profile)
Status: Closed Package: Translation problem
PHP Version: 7.3.0 OS: any
Private report: No CVE-ID: None
 [2018-12-15 00:02 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-15 10:30 UTC] cmb@php.net
-Summary: In French - The new function prototype for PHP 7.3 setcookie is missing in doc +Summary: [FR] The new function prototype for PHP 7.3 setcookie is missing in doc -Type: Feature/Change Request +Type: Documentation Problem
 [2018-12-27 22:14 UTC] 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-27 22:15 UTC] jbnahan@php.net
-Assigned To: +Assigned To: jbnahan
 [2018-12-27 23:06 UTC] 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 23:07 UTC] jbnahan@php.net
-Status: Assigned +Status: Closed
 [2018-12-27 23:07 UTC] jbnahan@php.net
Fixed !
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 07:01:29 2024 UTC