030.phpt 426 B

12345678910111213141516171819202122232425
  1. --TEST--
  2. redefining SID should not cause warnings
  3. --SKIPIF--
  4. <?php include('skipif.inc'); ?>
  5. --INI--
  6. session.use_cookies=0
  7. session.use_strict_mode=0
  8. session.cache_limiter=
  9. session.serialize_handler=php
  10. session.save_handler=files
  11. --FILE--
  12. <?php
  13. error_reporting(E_ALL);
  14. session_id("abtest");
  15. session_start();
  16. session_destroy();
  17. session_id("abtest2");
  18. session_start();
  19. session_destroy();
  20. print "I live\n";
  21. ?>
  22. --EXPECT--
  23. I live