Lines Matching refs:expires
80 PHPAPI zend_result php_setcookie(zend_string *name, zend_string *value, time_t expires, in php_setcookie() argument
114 if (expires >= 253402300800) { in php_setcookie()
148 if (expires > 0) { in php_setcookie()
152 …dt = php_format_date("D, d M Y H:i:s \\G\\M\\T", sizeof("D, d M Y H:i:s \\G\\M\\T")-1, expires, 0); in php_setcookie()
157 diff = difftime(expires, php_time()); in php_setcookie()
194 static zend_result php_head_parse_cookie_options_array(HashTable *options, zend_long *expires, zend… in php_head_parse_cookie_options_array() argument
206 *expires = zval_get_long(value); in php_head_parse_cookie_options_array()
228 zend_long expires = 0; in php_setcookie_common() local
236 Z_PARAM_ARRAY_HT_OR_LONG(options, expires) in php_setcookie_common()
250 if (FAILURE == php_head_parse_cookie_options_array(options, &expires, &path, in php_setcookie_common()
257 …if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, !is_raw) == SUCC… in php_setcookie_common()