1--TEST--
2Test clearstatcache() function: error conditions
3--FILE--
4<?php
5/*
6   Prototype: void clearstatcache ([bool clear_realpath_cache[, filename]]);
7   Description: clears files status cache
8*/
9
10echo "*** Testing clearstatcache() function: error conditions ***\n";
11var_dump( clearstatcache(0, "/foo/bar", 1) );  //No.of args more than expected
12echo "*** Done ***\n";
13?>
14--EXPECTF--
15*** Testing clearstatcache() function: error conditions ***
16
17Warning: clearstatcache() expects at most 2 parameters, 3 given in %s on line %d
18NULL
19*** Done ***
20