Home
last modified time | relevance | path

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

/PHP-7.1/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.c1143 add_assoc_long_ex(&entry, "expires", sizeof("expires") - 1, bucket->expires); in PHP_FUNCTION()
H A Dbasic_functions.c1427 ZEND_ARG_INFO(0, expires)
1437 ZEND_ARG_INFO(0, expires)
/PHP-7.1/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.1/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.1/ext/standard/tests/file/
H A Drealpath_cache.phpt27 ["expires"]=>
H A Drealpath_cache_win32.phpt27 ["expires"]=>
/PHP-7.1/sapi/litespeed/
H A Dlsapi_main.c84 time_t expires; member
776 ctx->entry->expires = 0; in lsapi_activate_user_ini_mk_user_config()
809 if (!ctx->entry->expires || request_time > ctx->entry->expires) in lsapi_activate_user_ini_walk_down_the_path()
827 ctx->entry->expires = request_time + PG(user_ini_cache_ttl); in lsapi_activate_user_ini_walk_down_the_path()
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_main.c188 time_t expires; member
680 entry->expires = 0;
687 if (request_time > entry->expires) {
736 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP-7.1/Zend/
H A Dzend_virtual_cwd.h219 time_t expires; member
H A Dzend_virtual_cwd.c738 bucket->expires = t + CWDG(realpath_cache_ttl); in realpath_cache_add()
754 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) { in realpath_cache_find()
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c189 time_t expires; member
802 new_entry->expires = 0;
809 if (request_time > entry->expires) {
861 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP-7.1/ext/session/
H A Dsession.c2099 zval *expires = NULL;
2102 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|z", &expires) == FAILURE) {
2108 if (expires) {
2109 convert_to_string_ex(expires);
2111 zend_alter_ini_entry(ini_name, Z_STR_P(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);
/PHP-7.1/
H A Dphp.ini-development1475 ; Document expires after n minutes.
H A Dphp.ini-production1475 ; Document expires after n minutes.

Completed in 75 milliseconds