Lines Matching refs:rmdir
2 Test mkdir() and rmdir() functions : error conditions
8 Prototype: bool rmdir ( string $dirname [, resource $context] );
17 echo "\n*** Testing rmdir(): error conditions ***\n";
18 var_dump( rmdir() ); // args < expected
19 var_dump( rmdir(1, 2, 3) ); // args > expected
20 var_dump( rmdir("testdir", $context, "test") ); // args > expected
22 echo "\n*** Testing rmdir() on non-existent directory ***\n";
23 var_dump( rmdir("temp") );
41 *** Testing rmdir(): error conditions ***
43 Warning: rmdir() expects at least 1 parameter, 0 given in %s on line %d
46 Warning: rmdir() expects at most 2 parameters, 3 given in %s on line %d
51 Warning: rmdir() expects at most 2 parameters, 3 given in %s on line %d
54 *** Testing rmdir() on non-existent directory ***
56 Warning: rmdir(temp): No such file or directory in %s on line %d