Lines Matching refs:chdir
2 Test chdir() function : error conditions - Incorrect number of arguments
5 /* Prototype : bool chdir(string $directory)
11 * Pass incorrect number of arguments to chdir() to test behaviour
14 echo "*** Testing chdir() : error conditions ***\n";
17 echo "\n-- Testing chdir() function with Zero arguments --\n";
18 var_dump( chdir() );
20 //Test chdir with one more than the expected number of arguments
21 echo "\n-- Testing chdir() function with more than expected no. of arguments --\n";
24 var_dump( chdir($directory, $extra_arg) );
28 *** Testing chdir() : error conditions ***
30 -- Testing chdir() function with Zero arguments --
32 Warning: chdir() expects exactly 1 parameter, 0 given in %s on line %d
35 -- Testing chdir() function with more than expected no. of arguments --
37 Warning: chdir() expects exactly 1 parameter, 2 given in %s on line %d