--TEST-- Test session_regenerate_id() function : basic functionality --EXTENSIONS-- session --INI-- session.sid_length = 32 --SKIPIF-- --FILE-- '); $extra_arguments = getenv('TEST_PHP_EXTRA_ARGS'); var_dump(`$php $extra_arguments -d session.name=PHPSESSID $file`); unlink($file); echo "Done"; ?> --EXPECTF-- *** Testing session_regenerate_id() : basic functionality for cookie *** string(%d) "X-Powered-By: PHP/%d.%d.%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