php-src/ext/session/tests/rfc1867_invalid_settings.phpt
2012-04-26 15:39:45 +02:00

21 lines
501 B
PHP

--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%"