forked from php/php-src
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbug20539.phpt
More file actions
20 lines (20 loc) · 456 Bytes
/
bug20539.phpt
File metadata and controls
20 lines (20 loc) · 456 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Bug #20539 (PHP CLI Segmentation Fault)
--EXTENSIONS--
session
--SKIPIF--
<?php if (file_exists(__DIR__. '/sess_' .session_id())) unlink(__DIR__. '/sess_' .session_id()); ?>
--INI--
session.auto_start=1
session.save_handler=files
session.save_path=./tests/basic/
--FILE--
<?php
print "good :)\n";
$filename = __DIR__ . '/sess_' . session_id();
var_dump(file_exists($filename));
@unlink($filename);
?>
--EXPECT--
good :)
bool(true)