Home
last modified time | relevance | path

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

/PHP-8.0/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
H A Dsetcookie_array_option_error.phpt51 setcookie('name', 'value', ['expires' => 315328464000]);
53 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
H A Dsetcookie_error.phpt41 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
H A Dsetrawcookie_error.phpt41 …var_dump($e->getMessage() == 'setrawcookie(): "expires" option cannot have a year greater than 999…
/PHP-8.0/ext/standard/
H A Dhead.c80 PHPAPI zend_result php_setcookie(zend_string *name, zend_string *value, time_t expires, in php_setcookie() argument
139 if (expires > 0) { in php_setcookie()
144 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()
158 diff = difftime(expires, php_time()); in php_setcookie()
195 static zend_result php_head_parse_cookie_options_array(HashTable *options, zend_long *expires, zend… in php_head_parse_cookie_options_array() argument
207 *expires = zval_get_long(value); in php_head_parse_cookie_options_array()
229 zend_long expires = 0; in php_setcookie_common() local
237 Z_PARAM_ARRAY_HT_OR_LONG(options, expires) in php_setcookie_common()
251 if (FAILURE == php_head_parse_cookie_options_array(options, &expires, &path, in php_setcookie_common()
258 …if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, !is_raw) == SUCC… in php_setcookie_common()
H A Dhead.h31 PHPAPI zend_result php_setcookie(zend_string *name, zend_string *value, time_t expires,
H A Dfilestat.c1071 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
/PHP-8.0/ext/curl/tests/
H A Dcurl_basic_022.phpt9 curl_setopt($ch, CURLOPT_COOKIELIST, 'Set-Cookie: C1=v1; expires=Thu, 31-Dec-2037 23:59:59 GMT; pat…
10 curl_setopt($ch, CURLOPT_COOKIELIST, 'Set-Cookie: C2=v2; expires=Thu, 31-Dec-2037 23:59:59 GMT; pat…
/PHP-8.0/ext/standard/tests/file/
H A Drealpath_cache.phpt27 ["expires"]=>
H A Drealpath_cache_win32.phpt27 ["expires"]=>
/PHP-8.0/sapi/litespeed/
H A Dlsapi_main.c66 time_t expires; member
1000 ctx->entry->expires = 0; in lsapi_activate_user_ini_mk_user_config()
1033 if (!ctx->entry->expires || request_time > ctx->entry->expires) in lsapi_activate_user_ini_walk_down_the_path()
1051 ctx->entry->expires = request_time + PG(user_ini_cache_ttl); in lsapi_activate_user_ini_walk_down_the_path()
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_main.c167 time_t expires; member
626 entry->expires = 0; in php_cgi_ini_activate_user_config()
633 if (request_time > entry->expires) { in php_cgi_ini_activate_user_config()
678 entry->expires = request_time + PG(user_ini_cache_ttl); in php_cgi_ini_activate_user_config()
/PHP-8.0/Zend/
H A Dzend_virtual_cwd.h209 time_t expires; member
H A Dzend_virtual_cwd.c428 bucket->expires = t + CWDG(realpath_cache_ttl); in realpath_cache_add()
444 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { in realpath_cache_find()
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c187 time_t expires; member
788 new_entry->expires = 0;
795 if (request_time > entry->expires) {
851 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP-8.0/ext/session/
H A Dsession.c2388 zend_long expires; in PHP_FUNCTION() local
2391 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l!", &expires, &expires_is_null) == FAILURE) { in PHP_FUNCTION()
2409 zend_string *ini_value = zend_long_to_str(expires); in PHP_FUNCTION()
/PHP-8.0/
H A Dphp.ini-development1452 ; Document expires after n minutes.
H A Dphp.ini-production1454 ; Document expires after n minutes.

Completed in 89 milliseconds