Edit report at https://bugs.php.net/bug.php?id=70871&edit=1
ID: 70871
Updated by: laruence@php.net
Reported by: jacky at xsteach dot com
Summary: session_regenerate_id(): Failed to create session
ID: user (path: )
Status: Open
Type: Bug
Package: Session related
Operating System: mac os x
PHP Version: 7.0.0RC6
-Assigned To:
+Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
this should be a intentional change, https://github.com/php/php-src/commit/e93042998af1fea9204e17bc5cdd13c702156d5b
@yohgaki ?
Previous Comments:
------------------------------------------------------------------------
[2015-11-06 11:36:07] jacky at xsteach dot com
Description:
------------
before php7RC3,the test script is working well,but a warning is throw after php7RC2.
Test script:
---------------
session_start();
session_destroy();
session_regenerate_id(true);
Expected result:
----------------
output nothing
Actual result:
--------------
Warning: session_regenerate_id(): Cannot regenerate session id
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70871&edit=1