xref: /PHP-7.3/tests/basic/bug20539.phpt (revision b746e698)
1--TEST--
2Bug #20539 (PHP CLI Segmentation Fault)
3--SKIPIF--
4<?php if (!extension_loaded("session")) die("skip session extension not available"); ?>
5<?php unlink(__DIR__. '/sess_' .session_id()); ?>
6--INI--
7session.auto_start=1
8session.save_handler=files
9session.save_path=./tests/basic/
10--FILE--
11<?php
12	print "good :)\n";
13	$filename = __DIR__ . '/sess_' . session_id();
14	var_dump(file_exists($filename));
15	@unlink($filename);
16?>
17--EXPECT--
18good :)
19bool(true)
20