Home
last modified time | relevance | path

Searched refs:maxlifetime (Results 1 – 25 of 36) sorted by path

12

/PHP-7.4/ext/session/
H A Dmod_files.c284 static int ps_files_cleanup_dir(const char *dirname, zend_long maxlifetime) in ps_files_cleanup_dir() argument
329 (now - sbuf.st_mtime) > maxlifetime) { in ps_files_cleanup_dir()
646 *nrdels = ps_files_cleanup_dir(data->basedir, maxlifetime); in PS_GC_FUNC()
H A Dmod_mm.c451 limit -= maxlifetime; in PS_GC_FUNC()
H A Dmod_user.c187 ZVAL_LONG(&args[0], maxlifetime); in PS_GC_FUNC()
H A Dmod_user_class.c148 zend_long maxlifetime; in PHP_METHOD() local
153 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &maxlifetime) == FAILURE) { in PHP_METHOD()
157 if (PS(default_mod)->s_gc(&PS(mod_data), maxlifetime, &nrdels) == FAILURE) { in PHP_METHOD()
H A Dphp_session.h34 #define PS_READ_ARGS void **mod_data, zend_string *key, zend_string **val, zend_long maxlifetime
35 #define PS_WRITE_ARGS void **mod_data, zend_string *key, zend_string *val, zend_long maxlifetime
37 #define PS_GC_ARGS void **mod_data, zend_long maxlifetime, zend_long *nrdels
40 …PS_UPDATE_TIMESTAMP_ARGS void **mod_data, zend_string *key, zend_string *val, zend_long maxlifetime
H A Dsession.c2756 ZEND_ARG_INFO(0, maxlifetime)
/PHP-7.4/ext/session/tests/
H A Dbug32330.phpt47 function sGC($maxlifetime)
49 echo "gc: maxlifetime = {$maxlifetime}\n";
74 gc: maxlifetime = %d
79 gc: maxlifetime = %d
84 gc: maxlifetime = %d
H A Dbug60634.phpt34 function gc($maxlifetime) {
H A Dbug60634_error_1.phpt36 function gc($maxlifetime) {
H A Dbug60634_error_2.phpt36 function gc($maxlifetime) {
H A Dbug60634_error_3.phpt36 function gc($maxlifetime) {
H A Dbug60634_error_4.phpt36 function gc($maxlifetime) {
H A Dbug60634_error_5.phpt35 function gc($maxlifetime) {
H A Dbug61728.phpt34 function gc ($maxlifetime) {
H A Dbug71162.phpt35 public function gc($maxlifetime) {
H A Dbug79091.phpt21 public function gc($maxlifetime)
H A Dbug80889.phpt25 public function gc($maxlifetime) {
H A Dbug80889a.phpt26 function ($maxlifetime) {
H A Dsave_handler.inc105 function gc($maxlifetime) {
106 // long $maxlifetime - GC TTL in seconds. Default: session.gc_maxlifetime
115 …($file, 0, $length) === SESSION_FILE_PREFIX && (filemtime($qualified) + $maxlifetime <= time() )) {
H A Dsession_module_name_variation2.phpt23 function gc($maxlifetime) { }
H A Dsession_module_name_variation3.phpt29 function gc($maxlifetime) { return true; }
H A Dsession_set_save_handler_class_002.phpt49 public function gc($maxlifetime) {
51 if (filemtime($filename) + $maxlifetime < time()) {
H A Dsession_set_save_handler_class_016.phpt48 public function gc($maxlifetime) {
50 if (filemtime($filename) + $maxlifetime < time()) {
H A Dsession_set_save_handler_class_017.phpt48 public function gc($maxlifetime) {
50 if (filemtime($filename) + $maxlifetime < time()) {
H A Dsession_set_save_handler_class_018.phpt48 public function gc($maxlifetime) {
50 if (filemtime($filename) + $maxlifetime < time()) {

Completed in 58 milliseconds

12