bug38579.phpt 286 B

12345678910111213141516
  1. --TEST--
  2. Bug #38579 (include_once() may include the same file twice)
  3. --SKIPIF--
  4. <?php
  5. if(PHP_OS_FAMILY !== "WIN") {
  6. die('skip only for Windows');
  7. }
  8. ?>
  9. --FILE--
  10. <?php
  11. $file = __DIR__."/bug38579.inc";
  12. include_once(strtolower($file));
  13. include_once(strtoupper($file));
  14. ?>
  15. --EXPECT--
  16. ok