|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2017-07-17 09:40 UTC] requinix@php.net
 
-Summary: session_cache_expire() triggers a warning in read
          mode
+Summary: session_cache_expire/cache_limiter/save_path()
          trigger a warning in read mode
-Status:  Open
+Status:  Verified
  [2017-07-17 09:41 UTC] requinix@php.net
  [2017-07-17 09:55 UTC] smorozov at sugarcrm dot com
  [2017-07-18 20:26 UTC] nikic@php.net
  [2017-07-18 20:26 UTC] nikic@php.net
 
-Status: Verified
+Status: Closed
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 03:00:01 2025 UTC | 
Description: ------------ This is very similar to #74514. When the session is started, and session_cache_expire() is called without an argument, it still triggers a warning: Cannot change cache expire when session is active. Test script: --------------- <?php session_start(); session_cache_expire(); Expected result: ---------------- No warning triggered Actual result: -------------- Warning: session_cache_expire(): Cannot change cache expire when session is active in test.php on line 4 Call Stack: 0.0000 397096 1. {main}() test.php:0 0.0001 397488 2. session_cache_expire() test.php:4