Doc #78753 [Asn->Csd]: [RU] Wrong description of options parameter in setcookie doc page

From: Date: Sat, 26 Oct 2019 14:21:01 +0000
Subject: Doc #78753 [Asn->Csd]: [RU] Wrong description of options parameter in setcookie doc page
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17036@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78753&edit=1 ID: 78753 Updated by: cmb@php.net Reported by: sageptr at gmail dot com Summary: [RU] Wrong description of options parameter in setcookie doc page -Status: Assigned +Status: Closed Type: Documentation Problem Package: Translation problem PHP Version: 7.3.11 Assigned To: sergey Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2019-10-26 12:52:53] sergey@php.net Automatic comment from SVN on behalf of sergey Revision: http://svn.php.net/viewvc/?view=revision&revision=348222 Log: fix(ru): Bug #78753 ------------------------------------------------------------------------ [2019-10-26 02:45:40] sageptr at gmail dot com Description: ------------ On this manual page https://www.php.net/manual/ru/function.setcookie.php : ``` options Ассоциативный массив (array), который может иметь любое из ключей lifetime, path, domain, secure, httponly и samesite. Значения имеют тот же смысл, как описано в параметрах с соответсвующим именем. Значение элемента samesite должно быть либо Lax, либо Strict. Если какая-либо из допустимых опций не указана, ее значения по умолчанию совпадают с значениями по умолчанию для явных параметров. Если элемент samesite не указан, cookie-атрибут SameSite не установлен. ``` But the key is called "expires", not "lifetime". Passing "lifetime" key doesn't work and it's simply ignored. The English version of manual is correct and states the key as "expires", so it's a problem with the Russian translation. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78753&edit=1

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