File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / session / tests / rfc1867_invalid_settings_2.phpt
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 01:32:01 2013 UTC (10 years, 11 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17, HEAD
5.4.17

    1: --TEST--
    2: session rfc1867 invalid settings 2
    3: --INI--
    4: session.upload_progress.freq=200%
    5: error_log=
    6: --SKIPIF--
    7: <?php 
    8: include('skipif.inc');
    9: if(substr(PHP_OS, 0, 3) == "WIN")
   10:         die("skip Not for Windows");
   11: ?>
   12: --FILE--
   13: <?php
   14: var_dump(ini_get("session.upload_progress.freq"));
   15: ?>
   16: --EXPECTF--
   17: PHP Warning:  PHP Startup: session.upload_progress.freq cannot be over 100% in %s
   18: 
   19: Warning: PHP Startup: session.upload_progress.freq cannot be over 100% in %s
   20: string(%d) "1%"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>