summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-05-09 11:14:40 +0800
committerXinchen Hui <laruence@gmail.com>2017-05-09 11:14:40 +0800
commit05c90e599425e4f0d917f8181f162cfa4baa4d73 (patch)
tree46b81d77cd588c500cddef57464936fb9563584e /ext/session
parent15dbe775d1912f0572524e61066e787d8862a9c4 (diff)
parent1b22e9dc2eaa754d1733f9e73e7041d3a006d7fc (diff)
downloadphp-git-05c90e599425e4f0d917f8181f162cfa4baa4d73.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Fixed tests when using cumstom php.ini(session.save_handler) Fix Bug #74541 Wrong reflection on session_start()
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/session.c6
-rw-r--r--ext/session/tests/bug32330.phpt1
-rw-r--r--ext/session/tests/bug60634.phpt1
-rw-r--r--ext/session/tests/bug60634_error_1.phpt1
-rw-r--r--ext/session/tests/bug60634_error_2.phpt1
-rw-r--r--ext/session/tests/bug60634_error_3.phpt1
-rw-r--r--ext/session/tests/bug60634_error_4.phpt1
-rw-r--r--ext/session/tests/bug60634_error_5.phpt1
-rw-r--r--ext/session/tests/bug72940.phpt1
-rw-r--r--ext/session/tests/bug73100.phpt3
-rw-r--r--ext/session/tests/bug74541.phpt18
-rw-r--r--ext/session/tests/rfc1867.phpt1
-rw-r--r--ext/session/tests/rfc1867_cleanup.phpt1
-rw-r--r--ext/session/tests/rfc1867_disabled.phpt1
-rw-r--r--ext/session/tests/rfc1867_disabled_2.phpt1
-rw-r--r--ext/session/tests/rfc1867_inter.phpt1
-rw-r--r--ext/session/tests/rfc1867_no_name.phpt1
-rw-r--r--ext/session/tests/rfc1867_sid_cookie.phpt1
-rw-r--r--ext/session/tests/rfc1867_sid_get.phpt1
-rw-r--r--ext/session/tests/rfc1867_sid_get_2.phpt1
-rw-r--r--ext/session/tests/rfc1867_sid_invalid.phpt1
-rw-r--r--ext/session/tests/rfc1867_sid_only_cookie.phpt1
-rw-r--r--ext/session/tests/rfc1867_sid_only_cookie_2.phpt1
-rw-r--r--ext/session/tests/rfc1867_sid_post.phpt1
-rw-r--r--ext/session/tests/session_abort_basic.phpt1
-rw-r--r--ext/session/tests/session_module_name_variation3.phpt1
-rw-r--r--ext/session/tests/session_name_basic.phpt1
-rw-r--r--ext/session/tests/session_name_variation1.phpt1
-rw-r--r--ext/session/tests/session_reset_basic.phpt1
-rw-r--r--ext/session/tests/session_save_path_error.phpt1
-rw-r--r--ext/session/tests/session_save_path_variation1.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_basic.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_class_001.phpt2
-rw-r--r--ext/session/tests/session_set_save_handler_closures.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_error3.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_variation4.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_variation5.phpt1
-rw-r--r--ext/session/tests/session_set_save_handler_variation6.phpt1
38 files changed, 61 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index d672b0c283..d702d1b159 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -2440,6 +2440,10 @@ ZEND_BEGIN_ARG_INFO(arginfo_session_class_updateTimestamp, 0)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, val)
ZEND_END_ARG_INFO()
+
+ZEND_BEGIN_ARG_INFO_EX(arginfo_session_start, 0, 0, 0)
+ ZEND_ARG_INFO(0, options) /* array */
+ZEND_END_ARG_INFO()
/* }}} */
/* {{{ session_functions[]
@@ -2453,7 +2457,7 @@ static const zend_function_entry session_functions[] = {
PHP_FE(session_regenerate_id, arginfo_session_regenerate_id)
PHP_FE(session_decode, arginfo_session_decode)
PHP_FE(session_encode, arginfo_session_void)
- PHP_FE(session_start, arginfo_session_void)
+ PHP_FE(session_start, arginfo_session_start)
PHP_FE(session_destroy, arginfo_session_void)
PHP_FE(session_unset, arginfo_session_void)
PHP_FE(session_gc, arginfo_session_void)
diff --git a/ext/session/tests/bug32330.phpt b/ext/session/tests/bug32330.phpt
index 98d442ae5c..b806ca6825 100644
--- a/ext/session/tests/bug32330.phpt
+++ b/ext/session/tests/bug32330.phpt
@@ -9,6 +9,7 @@ session.name=sid
session.save_path=/tmp
session.gc_probability=1
session.gc_divisor=1
+session.save_handler=files
--FILE--
<?php
error_reporting(E_ALL);
diff --git a/ext/session/tests/bug60634.phpt b/ext/session/tests/bug60634.phpt
index a72ef07e90..56b235af55 100644
--- a/ext/session/tests/bug60634.phpt
+++ b/ext/session/tests/bug60634.phpt
@@ -3,6 +3,7 @@ Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/bug60634_error_1.phpt b/ext/session/tests/bug60634_error_1.phpt
index fa76ff522a..5ad8fcb02a 100644
--- a/ext/session/tests/bug60634_error_1.phpt
+++ b/ext/session/tests/bug60634_error_1.phpt
@@ -3,6 +3,7 @@ Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/bug60634_error_2.phpt b/ext/session/tests/bug60634_error_2.phpt
index 045b3f5385..4ca598b4e7 100644
--- a/ext/session/tests/bug60634_error_2.phpt
+++ b/ext/session/tests/bug60634_error_2.phpt
@@ -3,6 +3,7 @@ Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/bug60634_error_3.phpt b/ext/session/tests/bug60634_error_3.phpt
index 776a7afea6..f97da00dce 100644
--- a/ext/session/tests/bug60634_error_3.phpt
+++ b/ext/session/tests/bug60634_error_3.phpt
@@ -3,6 +3,7 @@ Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/bug60634_error_4.phpt b/ext/session/tests/bug60634_error_4.phpt
index 0fd7db3ada..ca8672e4f4 100644
--- a/ext/session/tests/bug60634_error_4.phpt
+++ b/ext/session/tests/bug60634_error_4.phpt
@@ -3,6 +3,7 @@ Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/bug60634_error_5.phpt b/ext/session/tests/bug60634_error_5.phpt
index 18f1266a00..5728d3a90c 100644
--- a/ext/session/tests/bug60634_error_5.phpt
+++ b/ext/session/tests/bug60634_error_5.phpt
@@ -3,6 +3,7 @@ Bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/bug72940.phpt b/ext/session/tests/bug72940.phpt
index 5f3c790405..4d53bc098e 100644
--- a/ext/session/tests/bug72940.phpt
+++ b/ext/session/tests/bug72940.phpt
@@ -4,6 +4,7 @@ Bug #72940 - SID always defined
error_reporting=-1
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/bug73100.phpt b/ext/session/tests/bug73100.phpt
index 0503541375..3f3e92561a 100644
--- a/ext/session/tests/bug73100.phpt
+++ b/ext/session/tests/bug73100.phpt
@@ -4,6 +4,9 @@ Bug #73100 (session_destroy null dereference in ps_files_path_create)
<?php
if (!extension_loaded('session')) die('skip session extension not available');
?>
+--INI--
+session.save_path=
+session.save_handler=files
--FILE--
<?php
ob_start();
diff --git a/ext/session/tests/bug74541.phpt b/ext/session/tests/bug74541.phpt
new file mode 100644
index 0000000000..8c70ebe126
--- /dev/null
+++ b/ext/session/tests/bug74541.phpt
@@ -0,0 +1,18 @@
+--TEST--
+Bug #74541 Wrong reflection on session_start()
+--SKIPIF--
+<?php
+include('skipif.inc');
+if (!extension_loaded('reflection')) die("skip");
+?>
+--FILE--
+<?php
+$r = new ReflectionFunction('session_start');
+var_dump($r->getNumberOfParameters());
+var_dump($r->getNumberOfRequiredParameters());
+?>
+===DONE===
+--EXPECT--
+int(1)
+int(0)
+===DONE===
diff --git a/ext/session/tests/rfc1867.phpt b/ext/session/tests/rfc1867.phpt
index 6b14bcb4ef..2752888633 100644
--- a/ext/session/tests/rfc1867.phpt
+++ b/ext/session/tests/rfc1867.phpt
@@ -16,6 +16,7 @@ session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=1%
session.upload_progress.min_freq=0.000000001
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_cleanup.phpt b/ext/session/tests/rfc1867_cleanup.phpt
index f84385bada..7bcbba3a39 100644
--- a/ext/session/tests/rfc1867_cleanup.phpt
+++ b/ext/session/tests/rfc1867_cleanup.phpt
@@ -16,6 +16,7 @@ session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=1%
session.upload_progress.min_freq=0.000000001
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_disabled.phpt b/ext/session/tests/rfc1867_disabled.phpt
index 550ee3a7a2..92047daef3 100644
--- a/ext/session/tests/rfc1867_disabled.phpt
+++ b/ext/session/tests/rfc1867_disabled.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=1%
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_disabled_2.phpt b/ext/session/tests/rfc1867_disabled_2.phpt
index 83e97eeed1..1dfac334ac 100644
--- a/ext/session/tests/rfc1867_disabled_2.phpt
+++ b/ext/session/tests/rfc1867_disabled_2.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=1%
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_inter.phpt b/ext/session/tests/rfc1867_inter.phpt
index 4d9b262230..73ff6e8f80 100644
--- a/ext/session/tests/rfc1867_inter.phpt
+++ b/ext/session/tests/rfc1867_inter.phpt
@@ -16,6 +16,7 @@ session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=1%
session.upload_progress.min_freq=0.000000001
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_no_name.phpt b/ext/session/tests/rfc1867_no_name.phpt
index d68a61d929..6a6eb71176 100644
--- a/ext/session/tests/rfc1867_no_name.phpt
+++ b/ext/session/tests/rfc1867_no_name.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=1%
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_sid_cookie.phpt b/ext/session/tests/rfc1867_sid_cookie.phpt
index 2864799335..0c6ca61c58 100644
--- a/ext/session/tests/rfc1867_sid_cookie.phpt
+++ b/ext/session/tests/rfc1867_sid_cookie.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_sid_get.phpt b/ext/session/tests/rfc1867_sid_get.phpt
index e3a48a1c13..fc82f14163 100644
--- a/ext/session/tests/rfc1867_sid_get.phpt
+++ b/ext/session/tests/rfc1867_sid_get.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--GET--
diff --git a/ext/session/tests/rfc1867_sid_get_2.phpt b/ext/session/tests/rfc1867_sid_get_2.phpt
index e21ca4ca2b..fadb196d15 100644
--- a/ext/session/tests/rfc1867_sid_get_2.phpt
+++ b/ext/session/tests/rfc1867_sid_get_2.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_sid_invalid.phpt b/ext/session/tests/rfc1867_sid_invalid.phpt
index 7ff8f6bf0e..ac288d4109 100644
--- a/ext/session/tests/rfc1867_sid_invalid.phpt
+++ b/ext/session/tests/rfc1867_sid_invalid.phpt
@@ -16,6 +16,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_sid_only_cookie.phpt b/ext/session/tests/rfc1867_sid_only_cookie.phpt
index 41f6761fb9..a9206ea1d3 100644
--- a/ext/session/tests/rfc1867_sid_only_cookie.phpt
+++ b/ext/session/tests/rfc1867_sid_only_cookie.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--COOKIE--
diff --git a/ext/session/tests/rfc1867_sid_only_cookie_2.phpt b/ext/session/tests/rfc1867_sid_only_cookie_2.phpt
index e705314d69..4c9a9e0211 100644
--- a/ext/session/tests/rfc1867_sid_only_cookie_2.phpt
+++ b/ext/session/tests/rfc1867_sid_only_cookie_2.phpt
@@ -14,6 +14,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--GET--
diff --git a/ext/session/tests/rfc1867_sid_post.phpt b/ext/session/tests/rfc1867_sid_post.phpt
index 107957f8db..a919d9cb7b 100644
--- a/ext/session/tests/rfc1867_sid_post.phpt
+++ b/ext/session/tests/rfc1867_sid_post.phpt
@@ -15,6 +15,7 @@ session.upload_progress.cleanup=0
session.upload_progress.prefix=upload_progress_
session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.freq=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--POST_RAW--
diff --git a/ext/session/tests/session_abort_basic.phpt b/ext/session/tests/session_abort_basic.phpt
index 4a6702f0dc..b9736a912b 100644
--- a/ext/session/tests/session_abort_basic.phpt
+++ b/ext/session/tests/session_abort_basic.phpt
@@ -5,6 +5,7 @@ Test session_abort() function : basic functionality
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--FILE--
<?php
diff --git a/ext/session/tests/session_module_name_variation3.phpt b/ext/session/tests/session_module_name_variation3.phpt
index de49195fe8..2660a00fee 100644
--- a/ext/session/tests/session_module_name_variation3.phpt
+++ b/ext/session/tests/session_module_name_variation3.phpt
@@ -3,6 +3,7 @@ Test session_module_name() function : variation
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_name_basic.phpt b/ext/session/tests/session_name_basic.phpt
index 959f40666f..8c3a9bbcd1 100644
--- a/ext/session/tests/session_name_basic.phpt
+++ b/ext/session/tests/session_name_basic.phpt
@@ -3,6 +3,7 @@ Test session_name() function : error functionality
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_name_variation1.phpt b/ext/session/tests/session_name_variation1.phpt
index b0de3ee361..7809e60b4d 100644
--- a/ext/session/tests/session_name_variation1.phpt
+++ b/ext/session/tests/session_name_variation1.phpt
@@ -3,6 +3,7 @@ Test session_name() function : variation
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_reset_basic.phpt b/ext/session/tests/session_reset_basic.phpt
index 75c6a04119..1fb7f8fe87 100644
--- a/ext/session/tests/session_reset_basic.phpt
+++ b/ext/session/tests/session_reset_basic.phpt
@@ -5,6 +5,7 @@ Test session_reset() function : basic functionality
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--FILE--
<?php
diff --git a/ext/session/tests/session_save_path_error.phpt b/ext/session/tests/session_save_path_error.phpt
index 815feee6ba..8dd2def8ea 100644
--- a/ext/session/tests/session_save_path_error.phpt
+++ b/ext/session/tests/session_save_path_error.phpt
@@ -4,6 +4,7 @@ Test session_save_path() function : error functionality
session.gc_probability=0
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_save_path_variation1.phpt b/ext/session/tests/session_save_path_variation1.phpt
index d5f64d9851..9100fb486f 100644
--- a/ext/session/tests/session_save_path_variation1.phpt
+++ b/ext/session/tests/session_save_path_variation1.phpt
@@ -4,6 +4,7 @@ Test session_save_path() function : variation
session.gc_probability=0
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_set_save_handler_basic.phpt b/ext/session/tests/session_set_save_handler_basic.phpt
index 6b99e8d37d..f6e81479ea 100644
--- a/ext/session/tests/session_set_save_handler_basic.phpt
+++ b/ext/session/tests/session_set_save_handler_basic.phpt
@@ -4,6 +4,7 @@ Test session_set_save_handler() function : basic functionality
session.save_path=
session.name=PHPSESSID
session.gc_probability=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_set_save_handler_class_001.phpt b/ext/session/tests/session_set_save_handler_class_001.phpt
index f1656c3b5b..c46d07f9b7 100644
--- a/ext/session/tests/session_set_save_handler_class_001.phpt
+++ b/ext/session/tests/session_set_save_handler_class_001.phpt
@@ -2,8 +2,8 @@
Test session_set_save_handler() : basic class wrapping existing handler
--INI--
session.use_strict_mode=1
-session.save_handler=files
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_set_save_handler_closures.phpt b/ext/session/tests/session_set_save_handler_closures.phpt
index 1251886b01..52ae336258 100644
--- a/ext/session/tests/session_set_save_handler_closures.phpt
+++ b/ext/session/tests/session_set_save_handler_closures.phpt
@@ -3,6 +3,7 @@ Test session_set_save_handler() function : using closures as callbacks
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_set_save_handler_error3.phpt b/ext/session/tests/session_set_save_handler_error3.phpt
index fdf306a4a5..cefbe811dd 100644
--- a/ext/session/tests/session_set_save_handler_error3.phpt
+++ b/ext/session/tests/session_set_save_handler_error3.phpt
@@ -3,6 +3,7 @@ Test session_set_save_handler() function : error functionality
--INI--
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_set_save_handler_variation4.phpt b/ext/session/tests/session_set_save_handler_variation4.phpt
index a711fdea59..0684205694 100644
--- a/ext/session/tests/session_set_save_handler_variation4.phpt
+++ b/ext/session/tests/session_set_save_handler_variation4.phpt
@@ -8,6 +8,7 @@ session.gc_divisor=1
session.gc_maxlifetime=0
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--FILE--
<?php
diff --git a/ext/session/tests/session_set_save_handler_variation5.phpt b/ext/session/tests/session_set_save_handler_variation5.phpt
index 6ad600e4d1..a8c4f4e09c 100644
--- a/ext/session/tests/session_set_save_handler_variation5.phpt
+++ b/ext/session/tests/session_set_save_handler_variation5.phpt
@@ -7,6 +7,7 @@ session.gc_divisor=1
session.gc_maxlifetime=0
session.save_path=
session.name=PHPSESSID
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
diff --git a/ext/session/tests/session_set_save_handler_variation6.phpt b/ext/session/tests/session_set_save_handler_variation6.phpt
index 357e6063ef..573d40cf99 100644
--- a/ext/session/tests/session_set_save_handler_variation6.phpt
+++ b/ext/session/tests/session_set_save_handler_variation6.phpt
@@ -6,6 +6,7 @@ session.lazy_write=1
session.save_path=
session.name=PHPSESSID
session.gc_probability=0
+session.save_handler=files
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--