php-src/tests/basic/bug20539.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

21 lines
456 B
PHP

--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)