]> granicus.if.org Git - php/commitdiff
Added test for bug #51338
authorIlia Alshanetsky <iliaa@php.net>
Tue, 23 Mar 2010 11:51:38 +0000 (11:51 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 23 Mar 2010 11:51:38 +0000 (11:51 +0000)
ext/session/tests/bug51338.phpt [new file with mode: 0644]

diff --git a/ext/session/tests/bug51338.phpt b/ext/session/tests/bug51338.phpt
new file mode 100644 (file)
index 0000000..d806c0b
--- /dev/null
@@ -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
+(
+)