/php-src/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
|
H A D | setcookie_array_option_error.phpt | 51 setcookie('name', 'value', ['expires' => 315328464000]); 53 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
|
H A D | setcookie_error.phpt | 41 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
|
H A D | setrawcookie_error.phpt | 41 …var_dump($e->getMessage() == 'setrawcookie(): "expires" option cannot have a year greater than 999…
|
/php-src/ext/standard/ |
H A D | head.c | 80 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 D | head.h | 31 PHPAPI zend_result php_setcookie(zend_string *name, zend_string *value, time_t expires,
|
H A D | filestat.c | 1119 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
|
/php-src/ext/curl/tests/ |
H A D | curl_basic_022.phpt | 9 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 D | gh9200.phpt | 2 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 D | realpath_cache.phpt | 27 ["expires"]=>
|
H A D | realpath_cache_win32.phpt | 27 ["expires"]=>
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 65 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 D | fpm_main.c | 164 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 D | zend_virtual_cwd.h | 221 time_t expires; member
|
H A D | zend_virtual_cwd.c | 426 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 D | cgi_main.c | 191 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 D | session.c | 2554 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 D | release-process.md | 1033 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 D | php.ini-development | 1395 ; Document expires after n minutes.
|
H A D | php.ini-production | 1397 ; Document expires after n minutes.
|