summaryrefslogtreecommitdiff
path: root/ext/session/tests/rfc1867_invalid_settings.phpt
blob: 640c4d243695ce0ed489af7e62bf24876e886261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
session rfc1867 invalid settings
--INI--
session.upload_progress.freq=-1
error_log=
--SKIPIF--
<?php 
include('skipif.inc');
if(substr(PHP_OS, 0, 3) == "WIN")
        die("skip Not for Windows");
?>
--FILE--
<?php
var_dump(ini_get("session.upload_progress.freq"));
?>
--EXPECTF--
PHP Warning:  PHP Startup: session.upload_progress.freq must be greater than or equal to zero in %s

Warning: PHP Startup: session.upload_progress.freq must be greater than or equal to zero in %s
string(%d) "1%"