Doc #78753 [NEW]: [RU] Wrong description of options parameter in setcookie doc page

From: Date: Sat, 26 Oct 2019 02:45:40 +0000
Subject: Doc #78753 [NEW]: [RU] Wrong description of options parameter in setcookie doc page
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17035@lists.php.net to get a copy of this message
From: sageptr at gmail dot com Operating system: PHP version: 7.3.11 Package: Translation problem Bug Type: Documentation Problem Bug description:[RU] Wrong description of options parameter in setcookie doc page 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 bug report at https://bugs.php.net/bug.php?id=78753&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78753&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78753&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78753&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78753&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78753&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78753&r=support Expected behavior: https://bugs.php.net/fix.php?id=78753&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78753&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78753&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78753&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78753&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78753&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78753&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78753&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78753&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78753&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78753&r=mysqlcfg

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