Home
last modified time | relevance | path

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

/PHP-7.4/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.4/ext/standard/
H A Dhead.c134 if (expires > 0) { in php_setcookie()
139 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()
152 diff = difftime(expires, php_time()); in php_setcookie()
197 *expires = zval_get_long(value); in php_head_parse_cookie_options_array()
235 zend_long expires = 0; in PHP_FUNCTION() local
255 …php_head_parse_cookie_options_array(expires_or_options, &expires, &path, &domain, &secure, &httpon… in PHP_FUNCTION()
257 expires = zval_get_long(expires_or_options); in PHP_FUNCTION()
262 if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, 1) == SUCCESS) { in PHP_FUNCTION()
290 zend_long expires = 0; in PHP_FUNCTION() local
312 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.c1132 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
/PHP-7.4/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.4/ext/standard/tests/file/
H A Drealpath_cache.phpt27 ["expires"]=>
H A Drealpath_cache_win32.phpt27 ["expires"]=>
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c66 time_t expires; member
1011 ctx->entry->expires = 0; in lsapi_activate_user_ini_mk_user_config()
1044 if (!ctx->entry->expires || request_time > ctx->entry->expires) in lsapi_activate_user_ini_walk_down_the_path()
1062 ctx->entry->expires = request_time + PG(user_ini_cache_ttl); in lsapi_activate_user_ini_walk_down_the_path()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_main.c168 time_t expires; member
633 entry->expires = 0; in php_cgi_ini_activate_user_config()
640 if (request_time > entry->expires) { in php_cgi_ini_activate_user_config()
685 entry->expires = request_time + PG(user_ini_cache_ttl); in php_cgi_ini_activate_user_config()
/PHP-7.4/ext/session/
H A Dsession.c2358 zval *expires = NULL; in PHP_FUNCTION() local
2361 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|z", &expires) == FAILURE) { in PHP_FUNCTION()
2365 if (expires && PS(session_status) == php_session_active) { in PHP_FUNCTION()
2370 if (expires && SG(headers_sent)) { in PHP_FUNCTION()
2377 if (expires) { in PHP_FUNCTION()
2378 if (!try_convert_to_string(expires)) { in PHP_FUNCTION()
2383 zend_alter_ini_entry(ini_name, Z_STR_P(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME); in PHP_FUNCTION()
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.h210 time_t expires; member
H A Dzend_virtual_cwd.c434 bucket->expires = t + CWDG(realpath_cache_ttl); in realpath_cache_add()
450 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { in realpath_cache_find()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c187 time_t expires; member
793 new_entry->expires = 0;
800 if (request_time > entry->expires) {
856 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP-7.4/
H A Dphp.ini-development1445 ; Document expires after n minutes.
H A Dphp.ini-production1445 ; Document expires after n minutes.

Completed in 175 milliseconds