/PHP-7.3/ext/standard/tests/network/ |
H A D | setcookie.phpt | 20 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 D | bug72071.phpt | 14 Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0
|
/PHP-7.3/ext/standard/ |
H A D | head.c | 138 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 D | head.h | 40 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, …
|
H A D | filestat.c | 1135 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
|
/PHP-7.3/ext/curl/tests/ |
H A D | curl_basic_022.phpt | 14 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 D | realpath_cache.phpt | 27 ["expires"]=>
|
H A D | realpath_cache_win32.phpt | 27 ["expires"]=>
|
/PHP-7.3/sapi/litespeed/ |
H A D | lsapi_main.c | 74 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 D | fpm_main.c | 170 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 D | session.c | 2348 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 D | zend_virtual_cwd.h | 189 time_t expires; member
|
H A D | zend_virtual_cwd.c | 678 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 D | cgi_main.c | 191 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 D | UPGRADING.INTERNALS | 180 int php_setcookie(zend_string *name, zend_string *value, time_t expires,
|
H A D | UPGRADING | 386 "expires", "path", "domain", "secure", "httponly" and "samesite".
|
H A D | php.ini-development | 1468 ; Document expires after n minutes.
|
H A D | php.ini-production | 1470 ; Document expires after n minutes.
|