1--TEST--
2Test file_get_contents() function : error when passing folder
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) === "WIN") { print "skip - not valid for Windows"; }
6?>
7--FILE--
8<?php
9file_get_contents(__DIR__);
10?>
11--EXPECTF--
12Notice: file_get_contents(): Read of %d bytes failed with errno=21 Is a directory in %s on line %d
13