xref: /PHP-7.2/tests/lang/bug38579.phpt (revision bb059fe0)
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 = dirname(__FILE__)."/bug38579.inc";
12include_once(strtolower($file));
13include_once(strtoupper($file));
14?>
15--EXPECT--
16ok
17