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/standard/
H A Dhead.c80 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly) argument
130 snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", ZSTR_VAL(name), ZSTR_VAL(dt));
134 if (expires > 0) {
138 dt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s T")-1, expires, 0);
151 snprintf(tsdelta, sizeof(tsdelta), ZEND_LONG_FMT, (zend_long) difftime(expires, time(NULL)));
185 /* php_set_cookie(name, value, expires, path, domain, secure) */
186 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
191 zend_long expires = 0; local
195 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) {
199 if (php_setcookie(name, value, expires, pat
212 zend_long expires = 0; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c189 time_t expires; member in struct:_user_config_cache_entry
744 new_entry->expires = 0;
751 if (request_time > entry->expires) {
803 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c188 time_t expires; member in struct:_user_config_cache_entry
680 entry->expires = 0;
687 if (request_time > entry->expires) {
736 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP_TRUNK/ext/session/
H A Dsession.c2127 zval *expires = NULL; local
2130 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|z", &expires) == FAILURE) {
2136 if (expires) {
2137 convert_to_string_ex(expires);
2139 zend_alter_ini_entry(ini_name, Z_STR_P(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);

Completed in 17 milliseconds