summaryrefslogtreecommitdiff
path: root/src/tests/session_encryption/set_custom_session_handler_ini.phpt
blob: a454fc6d5f5b2dac1a7893d6bb86d5f35569f1c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Set a custom session handler
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
<?php if (!extension_loaded("session")) print "skip"; ?>
--EXTENSIONS--
session
--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