Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.

Commit 1f62e7d

Browse files
committed
Cannot set serialize_handler in --INI-- section if extension is loaded with dl(). Use ini_set instead.
1 parent 584805f commit 1f62e7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/015b.phpt

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
Check for serialization handler, ini-directive
33
--SKIPIF--
44
--INI--
5-
session.serialize_handler=igbinary
65
--FILE--
76
<?php
87
if(!extension_loaded('igbinary')) {
98
dl('igbinary.' . PHP_SHLIB_SUFFIX);
109
}
1110

11+
ini_set('session.serialize_handler', 'igbinary');
12+
1213
$output = '';
1314

1415
function open($path, $name) {

0 commit comments

Comments
 (0)