1--TEST--
2Test ucwords() function : usage variations - custom delimiters
3--FILE--
4<?php
5echo "*** Testing ucwords() : usage variations ***\n";
6
7var_dump(ucwords('testing-dashed-words', '-'));
8var_dump(ucwords('test(braced)words', '()'));
9var_dump(ucwords('testing empty delimiters', ''));
10var_dump(ucwords('testing ranges', 'a..e'));
11
12echo "Done\n";
13?>
14--EXPECTF--
15*** Testing ucwords() : usage variations ***
16string(%d) "Testing-Dashed-Words"
17string(%d) "Test(Braced)Words"
18string(%d) "Testing empty delimiters"
19string(%d) "TeSting raNgeS"
20Done
21