1--TEST--
2Test file_get_contents() function : error when passing folder - on Windows
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) != "WIN") { print "skip - Windows only"; }
6?>
7--FILE--
8<?php
9file_get_contents(__DIR__);
10?>
11--EXPECTF--
12Warning: file_get_contents(%s): Failed to open stream: Permission denied in %s on line %d
13