Home
last modified time | relevance | path

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

/php-src/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-src/ext/standard/
H A Dhead.c80 PHPAPI zend_result php_setcookie(zend_string *name, zend_string *value, time_t expires, in php_setcookie() argument
114 if (expires >= 253402300800) { in php_setcookie()
148 if (expires > 0) { in php_setcookie()
152 …dt = php_format_date("D, d M Y H:i:s \\G\\M\\T", sizeof("D, d M Y H:i:s \\G\\M\\T")-1, expires, 0); in php_setcookie()
157 diff = difftime(expires, php_time()); in php_setcookie()
194 static zend_result php_head_parse_cookie_options_array(HashTable *options, zend_long *expires, zend… in php_head_parse_cookie_options_array() argument
206 *expires = zval_get_long(value); in php_head_parse_cookie_options_array()
228 zend_long expires = 0; in php_setcookie_common() local
236 Z_PARAM_ARRAY_HT_OR_LONG(options, expires) in php_setcookie_common()
250 if (FAILURE == php_head_parse_cookie_options_array(options, &expires, &path, in php_setcookie_common()
[all …]
H A Dhead.h31 PHPAPI zend_result php_setcookie(zend_string *name, zend_string *value, time_t expires,
H A Dfilestat.c1119 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
/php-src/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-src/ext/session/tests/
H A Dgh9200.phpt2 GH-9200: setcookie has an obsolete expires date format
15 …if (preg_match('/^Set-Cookie: foo=bar; expires=(Mon|Tue|Wed|Thu|Fri|Sat|Sun), [0-9][0-9] (Jan|Feb|…
/php-src/ext/standard/tests/file/
H A Drealpath_cache.phpt27 ["expires"]=>
H A Drealpath_cache_win32.phpt27 ["expires"]=>
/php-src/sapi/litespeed/
H A Dlsapi_main.c65 time_t expires; member
996 ctx->entry->expires = 0; in lsapi_activate_user_ini_mk_user_config()
1029 if (!ctx->entry->expires || request_time > ctx->entry->expires) in lsapi_activate_user_ini_walk_down_the_path()
1047 ctx->entry->expires = request_time + PG(user_ini_cache_ttl); in lsapi_activate_user_ini_walk_down_the_path()
/php-src/sapi/fpm/fpm/
H A Dfpm_main.c164 time_t expires; member
644 entry->expires = 0; in php_cgi_ini_activate_user_config()
651 if (request_time > entry->expires) { in php_cgi_ini_activate_user_config()
696 entry->expires = request_time + PG(user_ini_cache_ttl); in php_cgi_ini_activate_user_config()
/php-src/Zend/
H A Dzend_virtual_cwd.h221 time_t expires; member
H A Dzend_virtual_cwd.c426 bucket->expires = t + CWDG(realpath_cache_ttl); in realpath_cache_add()
442 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { in realpath_cache_find()
/php-src/sapi/cgi/
H A Dcgi_main.c191 time_t expires; member
792 new_entry->expires = 0;
799 if (request_time > entry->expires) {
855 entry->expires = request_time + PG(user_ini_cache_ttl);
/php-src/ext/session/
H A Dsession.c2554 zend_long expires; in PHP_FUNCTION() local
2557 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l!", &expires, &expires_is_null) == FAILURE) { in PHP_FUNCTION()
2575 zend_string *ini_value = zend_long_to_str(expires); in PHP_FUNCTION()
/php-src/docs/
H A Drelease-process.md1033 pub rsa4096 2021-04-26 [SC] [expires: 2025-11-24]
1036 sub rsa4096 2021-04-26 [E] [expires: 2025-11-24]
/php-src/
H A Dphp.ini-development1395 ; Document expires after n minutes.
H A Dphp.ini-production1397 ; Document expires after n minutes.

Completed in 108 milliseconds