Searched defs:expires (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.h218 time_t expires; member in struct:_realpath_cache_bucket
/PHP_TRUNK/ext/session/
H A Dsession.c1993 zval *expires = NULL; local
1996 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|z", &expires) == FAILURE) {
2002 if (expires) {
2003 convert_to_string_ex(expires);
2005 zend_alter_ini_entry(ini_name, Z_STR_P(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);
/PHP_TRUNK/ext/standard/
H A Dhead.c80 PHPAPI int php_setcookie(char *name, size_t name_len, char *value, size_t value_len, time_t expires, char *path, size_t path_len, char *domain, size_t domain_len, int secure, int url_encode, int httponly) argument
124 snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", name, dt->val);
128 if (expires > 0) {
132 dt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s T")-1, expires, 0);
145 snprintf(tsdelta, sizeof(tsdelta), ZEND_LONG_FMT, (zend_long) difftime(expires, time(NULL)));
179 /* php_set_cookie(name, value, expires, path, domain, secure) */
180 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
185 zend_long expires = 0; local
190 &name_len, &value, &value_len, &expires, &path,
195 if (php_setcookie(name, name_len, value, value_len, expires, pat
208 zend_long expires = 0; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c186 time_t expires; member in struct:_user_config_cache_entry
778 new_entry->expires = 0;
785 if (request_time > entry->expires) {
837 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
693 entry->expires = 0;
700 if (request_time > entry->expires) {
749 entry->expires = request_time + PG(user_ini_cache_ttl);

Completed in 14 milliseconds