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