xref: /PHP-5.4/ext/session/tests/016.phpt (revision d1891c3d)
1--TEST--
2invalid session.save_path should not cause a segfault
3--SKIPIF--
4<?php
5if (!extension_loaded("session")) {
6    die("skip Session module not loaded");
7}
8?>
9--INI--
10session.save_path="123;:/really\\completely:::/invalid;;,23123;213"
11session.use_cookies=0
12session.cache_limiter=
13session.save_handler=files
14session.serialize_handler=php
15--FILE--
16<?php
17error_reporting(E_ALL);
18
19@session_start();
20$HTTP_SESSION_VARS["test"] = 1;
21@session_write_close();
22print "I live\n";
23?>
24--EXPECT--
25I live
26