Searched refs:expires (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dhead.h24 #define COOKIE_EXPIRES "; expires="
41 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC);
H A Dhead.c76 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC) argument
120 snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", name, dt->val);
124 if (expires > 0) {
128 dt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s T")-1, expires, 0 TSRMLS_CC);
141 snprintf(tsdelta, sizeof(tsdelta), ZEND_LONG_FMT, (zend_long) difftime(expires, time(NULL)));
175 /* php_set_cookie(name, value, expires, path, domain, secure) */
176 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
181 zend_long expires = 0; local
186 &name_len, &value, &value_len, &expires, &path,
191 if (php_setcookie(name, name_len, value, value_len, expires, pat
204 zend_long expires = 0; local
[all...]
H A Dfilestat.c1244 add_assoc_long(&entry, "expires", bucket->expires);
H A Dbasic_functions.c1425 ZEND_ARG_INFO(0, expires)
1434 ZEND_ARG_INFO(0, expires)
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c710 bucket->expires = t + CWDG(realpath_cache_ttl);
731 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) {
H A Dzend_virtual_cwd.h220 time_t expires; member in struct:_realpath_cache_bucket
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c186 time_t expires; member in struct:_user_config_cache_entry
759 new_entry->expires = 0;
766 if (request_time > entry->expires) {
818 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c187 time_t expires; member in struct:_user_config_cache_entry
694 entry->expires = 0;
701 if (request_time > entry->expires) {
750 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP_TRUNK/ext/session/
H A Dsession.c2014 zval *expires = NULL; local
2017 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &expires) == FAILURE) {
2023 if (expires) {
2024 convert_to_string_ex(expires);
2026 zend_alter_ini_entry(ini_name, Z_STR_P(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);

Completed in 52 milliseconds