summaryrefslogtreecommitdiff
path: root/src/tests/session_encryption/set_custom_session_handler_ini.phpt
blob: 7ed56d68505c5171c14579627d1a4420089157ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Set a custom session handler
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_crypt_session.ini
session.save_handler = 
--ENV--
return <<<EOF
REMOTE_ADDR=127.0.0.1
EOF;
--FILE--
<?php 
echo "win";
?>
--EXPECT--
win