This commit is contained in:
Maxim.Kolmakov 2019-12-05 16:23:13 +01:00
parent 8646a3d41e
commit 6e6084354f
1 changed files with 18 additions and 17 deletions

View File

@ -361,6 +361,24 @@ function session_cache_limiter ($cache_limiter = null) {}
*/
function session_cache_expire ($new_cache_expire = null) {}
/**
* Set the session cookie parameters
* @link https://php.net/manual/en/function.session-set-cookie-params.php
* @param array $options <p>
* An associative array which may have any of the keys lifetime, 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.
* </p>
* @return bool returns true on success or false on failure.
* @since 7.3
*/
function session_set_cookie_params ($options) {}
/**
* Set the session cookie parameters
* @link https://php.net/manual/en/function.session-set-cookie-params.php
@ -393,23 +411,6 @@ function session_cache_expire ($new_cache_expire = null) {}
*/
function session_set_cookie_params ($lifetime, $path = null, $domain = null, $secure = false, $httponly = false) {}
/**
* Set the session cookie parameters
* @link https://php.net/manual/en/function.session-set-cookie-params.php
* @param array $options <p>
* An associative array which may have any of the keys lifetime, 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.
* </p>
* @return bool returns true on success or false on failure.
* @since 7.3
*/
function session_set_cookie_params ($options) {}
/**
* Get the session cookie parameters
* @link https://php.net/manual/en/function.session-get-cookie-params.php