2007-08-13 11:40:57 +00:00
|
|
|
--TEST--
|
|
|
|
Test clearstatcache() function: error conditions
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Prototype: void clearstatcache (void);
|
|
|
|
Description: clears files status cache
|
|
|
|
*/
|
|
|
|
|
2007-11-05 17:43:21 +00:00
|
|
|
echo "*** Testing clearstatcache() function: error conditions ***\n";
|
2007-08-13 11:40:57 +00:00
|
|
|
var_dump( clearstatcache("file") ); //No.of args more than expected
|
|
|
|
echo "*** Done ***\n";
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
2007-11-05 17:43:21 +00:00
|
|
|
*** Testing clearstatcache() function: error conditions ***
|
|
|
|
|
2007-08-13 11:40:57 +00:00
|
|
|
Warning: Wrong parameter count for clearstatcache() in %s on line %d
|
|
|
|
NULL
|
|
|
|
*** Done ***
|