mirror of
https://github.com/php/php-src.git
synced 2024-10-21 08:22:42 +00:00
20 lines
501 B
PHP
20 lines
501 B
PHP
--TEST--
|
|
Test clearstatcache() function: error conditions
|
|
--FILE--
|
|
<?php
|
|
/*
|
|
Prototype: void clearstatcache (void);
|
|
Description: clears files status cache
|
|
*/
|
|
|
|
echo "*** Testing clearstatcache() function: error conditions ***\n";
|
|
var_dump( clearstatcache("file") ); //No.of args more than expected
|
|
echo "*** Done ***\n";
|
|
?>
|
|
--EXPECTF--
|
|
*** Testing clearstatcache() function: error conditions ***
|
|
|
|
Warning: clearstatcache() expects exactly 0 parameters, 1 given in %s on line %d
|
|
NULL
|
|
*** Done ***
|