summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug51338.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/bug51338.phpt')
-rw-r--r--ext/session/tests/bug51338.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/session/tests/bug51338.phpt b/ext/session/tests/bug51338.phpt
new file mode 100644
index 0000000..d806c0b
--- /dev/null
+++ b/ext/session/tests/bug51338.phpt
@@ -0,0 +1,15 @@
+--TEST--
+Bug #51338 (URL-Rewriter should not get enabled if use_only_cookies is set to 1)
+--SKIPIF--
+<?php include('skipif.inc'); ?>
+--INI--
+session.use_only_cookies=1
+session.use_trans_sid=1
+--FILE--
+<?php
+session_start();
+print_r(ob_list_handlers());
+--EXPECT--
+Array
+(
+)