Lines Matching refs:basename

2 basename
8 die('skip Windows only basename tests');
14 * proto string basename(string path [, string suffix])
45 /* paths with basename only suffix, with suffix removal*/
50 /* paths with basename only suffix & trailing slashes, with suffix removal*/
105 var_dump( basename($path[0]) );
107 var_dump( basename($path[0], $path[1]) );
120 var_dump( basename() );
123 var_dump( basename("\\blah\\tmp\\bar.zip", ".zip", ".zip") );
127 var_dump( basename( array("string\\bar") ) );
128 var_dump( basename( array("string\\bar"), "bar" ) );
129 var_dump( basename( "bar", array("string\\bar") ) );
130 var_dump( basename( $object, "bar" ) );
131 var_dump( basename( $object ) );
132 var_dump( basename( $object, $object ) );
133 var_dump( basename( "bar", $object ) );
315 Warning: basename() expects at least 1 parameter, 0 given in %s on line %d
318 Warning: basename() expects at most 2 parameters, 3 given in %s on line %d
321 Warning: basename() expects parameter 1 to be string, array given in %s on line %d
324 Warning: basename() expects parameter 1 to be string, array given in %s on line %d
327 Warning: basename() expects parameter 2 to be string, array given in %s on line %d
330 Warning: basename() expects parameter 1 to be string, object given in %s on line %d
333 Warning: basename() expects parameter 1 to be string, object given in %s on line %d
336 Warning: basename() expects parameter 1 to be string, object given in %s on line %d
339 Warning: basename() expects parameter 2 to be string, object given in %s on line %d