Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Dhead.c80 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, … in php_setcookie() argument
134 if (expires > 0) { in php_setcookie()
140 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()
153 diff = difftime(expires, time(NULL)); in php_setcookie()
197 zend_long expires = 0; in PHP_FUNCTION() local
201 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION()
205 if (php_setcookie(name, value, expires, path, domain, secure, 1, httponly) == SUCCESS) { in PHP_FUNCTION()
218 zend_long expires = 0; in PHP_FUNCTION() local
222 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION()
226 if (php_setcookie(name, value, expires, path, domain, secure, 0, httponly) == SUCCESS) { in PHP_FUNCTION()
H A Dhead.h41 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, …
H A Dfilestat.c1218 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
H A Dbasic_functions.c1426 ZEND_ARG_INFO(0, expires)
1436 ZEND_ARG_INFO(0, expires)
/PHP-7.0/ext/standard/tests/network/
H A Dsetcookie.phpt23 'Set-Cookie: name=deleted; expires='.date('D, d-M-Y H:i:s', 1).' GMT; Max-Age=0',
24 'Set-Cookie: name=deleted; expires='.date('D, d-M-Y H:i:s', 1).' GMT; Max-Age=0',
28 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsp).' GMT; Max-Age=5',
29 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsn).' GMT; Max-Age=0',
30 'Set-Cookie: name=value; expires='.date('D, d-M-Y H:i:s', $tsc).' GMT; Max-Age=0',
H A Dbug72071.phpt14 Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0
/PHP-7.0/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.0/ext/standard/tests/file/
H A Drealpath_cache.phpt27 ["expires"]=>
H A Drealpath_cache_win32.phpt27 ["expires"]=>
/PHP-7.0/sapi/litespeed/
H A Dlsapi_main.c81 time_t expires; member
749 ctx->entry->expires = 0; in lsapi_activate_user_ini_mk_user_config()
783 if (!ctx->entry->expires || request_time > ctx->entry->expires) in lsapi_activate_user_ini_walk_down_the_path()
801 ctx->entry->expires = request_time + PG(user_ini_cache_ttl); in lsapi_activate_user_ini_walk_down_the_path()
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_main.c188 time_t expires; member
679 entry->expires = 0;
686 if (request_time > entry->expires) {
735 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP-7.0/Zend/
H A Dzend_virtual_cwd.h218 time_t expires; member
H A Dzend_virtual_cwd.c726 bucket->expires = t + CWDG(realpath_cache_ttl); in realpath_cache_add()
742 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { in realpath_cache_find()
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c188 time_t expires; member
743 new_entry->expires = 0;
750 if (request_time > entry->expires) {
802 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP-7.0/ext/session/
H A Dsession.c2237 zval *expires = NULL;
2240 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|z", &expires) == FAILURE) {
2246 if (expires) {
2247 convert_to_string_ex(expires);
2249 zend_alter_ini_entry(ini_name, Z_STR_P(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);
/PHP-7.0/
H A Dphp.ini-development1455 ; Document expires after n minutes.
H A Dphp.ini-production1455 ; Document expires after n minutes.

Completed in 98 milliseconds