xref: /PHP-7.1/tests/lang/bug38579.phpt (revision 610c7fbe)
1--TEST--
2Bug #38579 (include_once() may include the same file twice)
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) != '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