Lines Matching refs:basename
2 basename() with various inputs
6 die('skip Windows only basename tests');
48 echo "basename for path $input is:\n";
49 var_dump(basename($input));
57 basename for path A:/foo is:
59 basename for path A:/foo/ is:
61 basename for path A:/foo\ is:
63 basename for path A:/foo.bar is:
65 basename for path A:/foo.bar/ is:
67 basename for path A:/foo.bar\ is:
69 basename for path A:/dir/foo.bar is:
71 basename for path A:/dir\foo.bar is:
73 basename for path A:/dir with spaces/foo.bar is:
75 basename for path A:/dir with spaces\foo.bar is:
77 basename for path Z:/foo is:
79 basename for path Z:/foo/ is:
81 basename for path Z:/foo\ is:
83 basename for path Z:/foo.bar is:
85 basename for path Z:/foo.bar/ is:
87 basename for path Z:/foo.bar\ is:
89 basename for path Z:/dir/foo.bar is:
91 basename for path Z:/dir\foo.bar is:
93 basename for path Z:/dir with spaces/foo.bar is:
95 basename for path Z:/dir with spaces\foo.bar is:
97 basename for path A:\foo is:
99 basename for path A:\foo/ is:
101 basename for path A:\foo\ is:
103 basename for path A:\foo.bar is:
105 basename for path A:\foo.bar/ is:
107 basename for path A:\foo.bar\ is:
109 basename for path A:\dir/foo.bar is:
111 basename for path A:\dir\foo.bar is:
113 basename for path A:\dir with spaces/foo.bar is:
115 basename for path A:\dir with spaces\foo.bar is:
117 basename for path http://foo is:
119 basename for path http://foo/ is:
121 basename for path http://foo\ is:
123 basename for path http://foo.bar is:
125 basename for path http://foo.bar/ is:
127 basename for path http://foo.bar\ is:
129 basename for path http://dir/foo.bar is:
131 basename for path http://dir\foo.bar is:
133 basename for path http://dir with spaces/foo.bar is:
135 basename for path http://dir with spaces\foo.bar is:
137 basename for path blah://foo is:
139 basename for path blah://foo/ is:
141 basename for path blah://foo\ is:
143 basename for path blah://foo.bar is:
145 basename for path blah://foo.bar/ is:
147 basename for path blah://foo.bar\ is:
149 basename for path blah://dir/foo.bar is:
151 basename for path blah://dir\foo.bar is:
153 basename for path blah://dir with spaces/foo.bar is:
155 basename for path blah://dir with spaces\foo.bar is:
157 basename for path blah:\foo is:
159 basename for path blah:\foo/ is:
161 basename for path blah:\foo\ is:
163 basename for path blah:\foo.bar is:
165 basename for path blah:\foo.bar/ is:
167 basename for path blah:\foo.bar\ is:
169 basename for path blah:\dir/foo.bar is:
171 basename for path blah:\dir\foo.bar is:
173 basename for path blah:\dir with spaces/foo.bar is:
175 basename for path blah:\dir with spaces\foo.bar is:
177 basename for path hostname:foo is:
179 basename for path hostname:foo/ is:
181 basename for path hostname:foo\ is:
183 basename for path hostname:foo.bar is:
185 basename for path hostname:foo.bar/ is:
187 basename for path hostname:foo.bar\ is:
189 basename for path hostname:dir/foo.bar is:
191 basename for path hostname:dir\foo.bar is:
193 basename for path hostname:dir with spaces/foo.bar is:
195 basename for path hostname:dir with spaces\foo.bar is:
197 basename for path ~/foo is:
199 basename for path ~/foo/ is:
201 basename for path ~/foo\ is:
203 basename for path ~/foo.bar is:
205 basename for path ~/foo.bar/ is:
207 basename for path ~/foo.bar\ is:
209 basename for path ~/dir/foo.bar is:
211 basename for path ~/dir\foo.bar is:
213 basename for path ~/dir with spaces/foo.bar is:
215 basename for path ~/dir with spaces\foo.bar is:
217 basename for path ~\foo is:
219 basename for path ~\foo/ is:
221 basename for path ~\foo\ is:
223 basename for path ~\foo.bar is:
225 basename for path ~\foo.bar/ is:
227 basename for path ~\foo.bar\ is:
229 basename for path ~\dir/foo.bar is:
231 basename for path ~\dir\foo.bar is:
233 basename for path ~\dir with spaces/foo.bar is:
235 basename for path ~\dir with spaces\foo.bar is: