summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug38377.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/bug38377.phpt')
-rw-r--r--ext/session/tests/bug38377.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/session/tests/bug38377.phpt b/ext/session/tests/bug38377.phpt
new file mode 100644
index 0000000..bd33bdd
--- /dev/null
+++ b/ext/session/tests/bug38377.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Bug #38377 (session_destroy() gives warning after session_regenerate_id())
+--SKIPIF--
+<?php include('skipif.inc'); ?>
+--FILE--
+<?php
+session_start();
+session_regenerate_id();
+session_destroy();
+echo "Done\n";
+?>
+--EXPECT--
+Done