|  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
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:

Expected result:
In french :
bool setcookie ( string $name [, string $value = "" [, array $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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-15 10:30 UTC]
-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]

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 ?

A video tutorial in French for help you to use the online editor:

Or the correct sentence translation here.

Thanks in advance.
 [2018-12-27 22:15 UTC]
-Assigned To: +Assigned To: jbnahan
 [2018-12-27 23:06 UTC]
Automatic comment from SVN on behalf of jbnahan
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]
-Status: Assigned +Status: Closed
 [2018-12-27 23:07 UTC]
Fixed !
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 11:01:30 2024 UTC