--TEST-- Test session_regenerate_id() function : basic functionality --SKIPIF-- --FILE-- '); var_dump(`$php -n -d session.name=PHPSESSID $file`); unlink($file); echo "Done"; ?> --EXPECTF-- *** Testing session_regenerate_id() : basic functionality for cookie *** string(%d) "X-Powered-By: PHP/7.%s Expires: %s Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Set-Cookie: PHPSESSID=%s; path=/ Content-type: text/html; charset=UTF-8 bool(true) Set-Cookie: PHPSESSID=%s; path=/ bool(true) bool(true) Set-Cookie: PHPSESSID=%s; path=/ bool(true) bool(true) string(32) "%s" bool(true) " Done