summaryrefslogtreecommitdiff
path: root/src/tests/session_encryption/set_custom_session_handler_ini.phpt
blob: f9fbfb2f23cb9189864e9392fa36cd418c92625f (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")) print "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