Lines Matching refs:pathinfo
2 Test pathinfo() function : usage variation
7 echo "*** Testing pathinfo() : usage variation ***\n";
11 var_dump(pathinfo("./"));
12 var_dump(pathinfo("/."));
13 var_dump(pathinfo(".cvsignore"));
14 var_dump(pathinfo($testfile, PATHINFO_BASENAME));
15 var_dump(pathinfo($testfile, PATHINFO_FILENAME));
16 var_dump(pathinfo($testfile, PATHINFO_EXTENSION));
17 var_dump(pathinfo($testfile, PATHINFO_DIRNAME));
18 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME|PATHINFO_DIRNAME));
19 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME|PATHINFO_BASENAME));
20 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME));
21 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_BASENAME));
22 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_DIRNAME));
23 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_BASENAME));
24 var_dump(pathinfo($testfile, PATHINFO_DIRNAME|PATHINFO_EXTENSION));
25 var_dump(pathinfo($testfile, PATHINFO_DIRNAME|PATHINFO_BASENAME));
30 *** Testing pathinfo() : usage variation ***