mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Several session tests incidentally check the values of INI variables like session.name and session.save_path. This isn't the point of the tests, and it can cause spurious failures if (for example) you want to override your temporary directory while testing. So here, we make the expected output patterns more lenient.
21 lines
330 B
PHP
21 lines
330 B
PHP
--TEST--
|
|
Bug #74936 session_cache_expire() triggers a warning in read mode.
|
|
--EXTENSIONS--
|
|
session
|
|
--SKIPIF--
|
|
<?php
|
|
include('skipif.inc');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
session_start();
|
|
var_dump(session_cache_expire());
|
|
var_dump(session_cache_limiter());
|
|
var_dump(session_save_path());
|
|
?>
|
|
--EXPECTF--
|
|
int(%d)
|
|
string(%d) "%S"
|
|
string(%d) "%S"
|