Lines Matching refs:pathinfo
2 Test pathinfo() function: usage variations
5 /* Prototype: mixed pathinfo ( string $path [, int $options] );
9 echo "*** Testing pathinfo() with miscelleneous input arguments ***\n";
83 var_dump( pathinfo($path) );
84 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
85 var_dump( pathinfo($path, PATHINFO_BASENAME) );
86 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
87 var_dump( pathinfo($path, PATHINFO_FILENAME) );
94 *** Testing pathinfo() with miscelleneous input arguments ***
203 Warning: pathinfo() expects parameter 1 to be string, object given in %s on line %d
206 Warning: pathinfo() expects parameter 1 to be string, object given in %s on line %d
209 Warning: pathinfo() expects parameter 1 to be string, object given in %s on line %d
212 Warning: pathinfo() expects parameter 1 to be string, object given in %s on line %d
215 Warning: pathinfo() expects parameter 1 to be string, object given in %s on line %d