Lines Matching refs:dirname
2 Test dirname() function : error conditions
7 /* Prototype : string dirname(string path)
13 echo "*** Testing dirname() : error conditions ***\n";
16 echo "\n-- Testing dirname() function with Zero arguments --\n";
17 var_dump( dirname() );
19 //Test dirname with one more than the expected number of arguments
20 echo "\n-- Testing dirname() function with more than expected no. of arguments --\n";
23 var_dump( dirname($path, 1, $extra_arg) );
28 *** Testing dirname() : error conditions ***
30 -- Testing dirname() function with Zero arguments --
32 Warning: dirname() expects at least 1 parameter, 0 given in %s on line %d
35 -- Testing dirname() function with more than expected no. of arguments --
37 Warning: dirname() expects at most 2 parameters, 3 given in %s on line %d