Lines Matching refs:pathinfo
2 Test pathinfo() function : usage variation
7 /* Prototype : array pathinfo(string path[, int options])
13 echo "*** Testing pathinfo() : usage variation ***\n";
17 var_dump(pathinfo("./"));
18 var_dump(pathinfo("/."));
19 var_dump(pathinfo(".cvsignore"));
20 var_dump(pathinfo($testfile, PATHINFO_BASENAME));
21 var_dump(pathinfo($testfile, PATHINFO_FILENAME));
22 var_dump(pathinfo($testfile, PATHINFO_EXTENSION));
23 var_dump(pathinfo($testfile, PATHINFO_DIRNAME));
24 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME|PATHINFO_DIRNAME));
25 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME|PATHINFO_BASENAME));
26 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_FILENAME));
27 var_dump(pathinfo($testfile, PATHINFO_EXTENSION|PATHINFO_BASENAME));
28 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_DIRNAME));
29 var_dump(pathinfo($testfile, PATHINFO_FILENAME|PATHINFO_BASENAME));
30 var_dump(pathinfo($testfile, PATHINFO_DIRNAME|PATHINFO_EXTENSION));
31 var_dump(pathinfo($testfile, PATHINFO_DIRNAME|PATHINFO_BASENAME));
37 *** Testing pathinfo() : usage variation ***