summaryrefslogtreecommitdiff
path: root/ext/session/tests/session_id_basic.phpt
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2013-08-21 08:08:55 +0900
committerYasuo Ohgaki <yohgaki@php.net>2013-08-21 08:12:11 +0900
commitd2a99a7c315beba3fcecd5c4a47d6ce1d1a78283 (patch)
tree99920f5681c0c09e23cdd79415a533bad65016c6 /ext/session/tests/session_id_basic.phpt
parent89c4abab2b83dd52f71e2915aca35e86c4f81583 (diff)
downloadphp-git-d2a99a7c315beba3fcecd5c4a47d6ce1d1a78283.tar.gz
Fixed Bug #65475
Diffstat (limited to 'ext/session/tests/session_id_basic.phpt')
-rw-r--r--ext/session/tests/session_id_basic.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/session/tests/session_id_basic.phpt b/ext/session/tests/session_id_basic.phpt
index 5cb13c25ea..852d2f9578 100644
--- a/ext/session/tests/session_id_basic.phpt
+++ b/ext/session/tests/session_id_basic.phpt
@@ -20,6 +20,8 @@ var_dump(session_id("test"));
var_dump(session_id());
var_dump(session_id("1234567890"));
var_dump(session_id());
+// Turn off strice mode, since it does not allow uninitialized session ID
+ini_set('session.use_strict_mode',false);
var_dump(session_start());
var_dump(session_id());
var_dump(session_destroy());