We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93dbe76 commit 996fe4bCopy full SHA for 996fe4b
tests/githubbug13.phpt
@@ -0,0 +1,18 @@
1
+--TEST--
2
+session_regenerate_id() should not cause fatal error
3
+--SKIPIF--
4
+<?php include 'connect.inc'; if (!MEMCACHE_HAVE_SESSION) print 'skip not compiled with session support'; ?>
5
+--FILE--
6
+<?php
7
+include 'connect.inc';
8
+
9
+$session_save_path = "tcp://$host:$port,tcp://$host2:$port2";
10
+ini_set('session.save_handler', 'memcache');
11
+ini_set('memcache.session_save_path', $session_save_path);
12
13
+session_start();
14
+var_dump(session_regenerate_id());
15
16
+?>
17
+--EXPECTF--
18
+bool(true)
0 commit comments