xref: /PHP-8.2/ext/session/tests/bug79413.phpt (revision 74859783)
1--TEST--
2Bug #79413 (session_create_id() fails for active sessions)
3--EXTENSIONS--
4session
5--FILE--
6<?php
7session_start();
8$old = session_id();
9$new = session_create_id();
10var_dump($new !== $old);
11?>
12--EXPECT--
13bool(true)
14