rfc1867_invalid_settings.phpt 363 B

123456789101112131415161718
  1. --TEST--
  2. session rfc1867 invalid settings
  3. --INI--
  4. session.upload_progress.freq=-1
  5. error_log=
  6. --EXTENSIONS--
  7. session
  8. --SKIPIF--
  9. <?php
  10. include('skipif.inc');
  11. ?>
  12. --FILE--
  13. <?php
  14. var_dump(ini_get("session.upload_progress.freq"));
  15. ?>
  16. --EXPECTF--
  17. Warning: PHP Startup: session.upload_progress.freq must be greater than or equal to 0 in Unknown on line 0
  18. string(%d) "1%"