Home
last modified time | relevance | path

Searched refs:expires (Results 1 – 18 of 18) sorted by relevance

/PHP-7.3/ext/standard/tests/network/
H A Dsetcookie.phpt20 setcookie('name', 'value', ['expires' => $tsp]);
21 setcookie('name', 'value', ['expires' => $tsn, 'path' => '/path/', 'domain' => 'domain.tld', 'secur…
24 'Set-Cookie: name=deleted; expires='.date('D, d-M-Y H:i:s', 1).' GMT; Max-Age=0',
25 'Set-Cookie: name=deleted; expires='.date('D, d-M-Y H:i:s', 1).' GMT; Max-Age=0',
29 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsp).' GMT; Max-Age=5',
30 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsn).' GMT; Max-Age=0',
31 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsc).' GMT; Max-Age=0',
36 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsp).' GMT; Max-Age=5',
37 …'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsn).' GMT; Max-Age=0; path=/path/; dom…
H A Dbug72071.phpt14 Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0
/PHP-7.3/ext/standard/
H A Dhead.c138 if (expires > 0) { in php_setcookie()
143 dt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s T")-1, expires, 0); in php_setcookie()
156 diff = difftime(expires, php_time()); in php_setcookie()
201 *expires = zval_get_long(value); in php_head_parse_cookie_options_array()
239 zend_long expires = 0; in PHP_FUNCTION() local
259 …php_head_parse_cookie_options_array(expires_or_options, &expires, &path, &domain, &secure, &httpon… in PHP_FUNCTION()
261 expires = zval_get_long(expires_or_options); in PHP_FUNCTION()
265 if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, 1) == SUCCESS) { in PHP_FUNCTION()
292 zend_long expires = 0; in PHP_FUNCTION() local
314 expires = zval_get_long(expires_or_options); in PHP_FUNCTION()
[all …]
H A Dhead.h40 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, …
H A Dfilestat.c1135 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
/PHP-7.3/ext/curl/tests/
H A Dcurl_basic_022.phpt14 curl_setopt($ch, CURLOPT_COOKIELIST, 'Set-Cookie: C1=v1; expires=Thu, 31-Dec-2037 23:59:59 GMT; pat…
15 curl_setopt($ch, CURLOPT_COOKIELIST, 'Set-Cookie: C2=v2; expires=Thu, 31-Dec-2037 23:59:59 GMT; pat…
/PHP-7.3/ext/standard/tests/file/
H A Drealpath_cache.phpt27 ["expires"]=>
H A Drealpath_cache_win32.phpt27 ["expires"]=>
/PHP-7.3/sapi/litespeed/
H A Dlsapi_main.c74 time_t expires; member
1022 ctx->entry->expires = 0; in lsapi_activate_user_ini_mk_user_config()
1055 if (!ctx->entry->expires || request_time > ctx->entry->expires) in lsapi_activate_user_ini_walk_down_the_path()
1073 ctx->entry->expires = request_time + PG(user_ini_cache_ttl); in lsapi_activate_user_ini_walk_down_the_path()
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_main.c170 time_t expires; member
639 entry->expires = 0; in php_cgi_ini_activate_user_config()
646 if (request_time > entry->expires) { in php_cgi_ini_activate_user_config()
691 entry->expires = request_time + PG(user_ini_cache_ttl); in php_cgi_ini_activate_user_config()
/PHP-7.3/ext/session/
H A Dsession.c2348 zval *expires = NULL; in PHP_FUNCTION() local
2351 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|z", &expires) == FAILURE) { in PHP_FUNCTION()
2355 if (expires && PS(session_status) == php_session_active) { in PHP_FUNCTION()
2360 if (expires && SG(headers_sent)) { in PHP_FUNCTION()
2367 if (expires) { in PHP_FUNCTION()
2368 convert_to_string_ex(expires); in PHP_FUNCTION()
2370 zend_alter_ini_entry(ini_name, Z_STR_P(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME); in PHP_FUNCTION()
/PHP-7.3/Zend/
H A Dzend_virtual_cwd.h189 time_t expires; member
H A Dzend_virtual_cwd.c678 bucket->expires = t + CWDG(realpath_cache_ttl); in realpath_cache_add()
694 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { in realpath_cache_find()
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c191 time_t expires; member
800 new_entry->expires = 0;
807 if (request_time > entry->expires) {
863 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP-7.3/
H A DUPGRADING.INTERNALS180 int php_setcookie(zend_string *name, zend_string *value, time_t expires,
H A DUPGRADING386 "expires", "path", "domain", "secure", "httponly" and "samesite".
H A Dphp.ini-development1468 ; Document expires after n minutes.
H A Dphp.ini-production1470 ; Document expires after n minutes.

Completed in 64 milliseconds