Home
last modified time | relevance | path

Searched refs:ucwords (Results 1 – 18 of 18) sorted by relevance

/PHP-5.5/ext/standard/tests/strings/
H A Ducwords_error.phpt2 Test ucwords() function : error conditions
5 /* Prototype : string ucwords ( string $str )
10 echo "*** Testing ucwords() : error conditions ***\n";
13 echo "\n-- Testing ucwords() function with Zero arguments --\n";
14 var_dump( ucwords() );
21 var_dump( ucwords($str, $extra_arg, $extra_arg) );
29 *** Testing ucwords() : error conditions ***
31 -- Testing ucwords() function with Zero arguments --
33 Warning: ucwords() expects at least 1 parameter, 0 given in %s on line %d
36 -- Testing ucwords() function with more than expected no. of arguments --
[all …]
H A Ducwords_variation5.phpt2 Test ucwords() function : usage variations - custom delimiters
5 /* Prototype : string ucwords ( string $str )
10 echo "*** Testing ucwords() : usage variations ***\n";
12 var_dump(ucwords('testing-dashed-words', '-'));
13 var_dump(ucwords('test(braced)words', '()'));
14 var_dump(ucwords('testing empty delimiters', ''));
15 var_dump(ucwords('testing ranges', 'a..e'));
20 *** Testing ucwords() : usage variations ***
H A Ducwords_variation4.phpt5 /* Prototype : string ucwords ( string $str )
19 "testing ucwords",
23 "testing function(ucwords)",
24 "(testing ( function (ucwords) )a )test",
29 "\"testing\",ucwords,\"test\"",
38 "testing\rucwords testing ucwords",
39 "testing\\rucwords testing ucwords",
42 "\ntesting\nucwords\n testing \n ucwords",
60 var_dump( ucwords($str_array[$index]) );
73 string(25) "Testing Function(ucwords)"
[all …]
H A Ducwords_variation3.phpt5 /* Prototype : string ucwords ( string $str )
14 echo "*** Testing ucwords() : usage variations ***\n";
19 'testing ucwords',
23 'testing function(ucwords)',
24 '(testing ( function (ucwords) )a )test',
35 'testing\rucwords testing ucwords',
37 '\ntesting\nucwords\n testing \n ucwords',
43 '/test/r\test\ucwords\t\y\y\u\3 \yy\ /uu/',
53 var_dump( ucwords($str_array[$index]) );
60 *** Testing ucwords() : usage variations ***
[all …]
H A Ducwords_basic.phpt2 Test ucwords() function : basic functionality
5 /* Prototype : string ucwords ( string $str )
10 echo "*** Testing ucwords() : basic functionality ***\n";
14 "testing ucwords",
15 'testing ucwords',
26 "testing ucwords",
27 'testing ucwords',
34 // loop through the $strings array to test ucwords on each element
38 var_dump( ucwords($str_array[$index]) );
45 *** Testing ucwords() : basic functionality ***
H A Ducwords_variation1.phpt2 Test ucwords() function : usage variations - unexpected input values
5 /* Prototype : string ucwords ( string $str )
11 * Test ucwords() by passing different values including scalar and non scalar values
14 echo "*** Testing ucwords() : usage variations ***\n";
96 // loop through each element of the array and check the working of ucwords()
104 var_dump( ucwords($str) );
114 *** Testing ucwords() : usage variations ***
116 --- Testing ucwords() by supplying different values for 'str' argument ---
149 Warning: ucwords() expects parameter 1 to be string, array given in %s on line %d
153 Warning: ucwords() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Ducwords_variation2.phpt2 Test ucwords() function : usage variations - heredoc strings
5 /* Prototype : string ucwords ( string $str )
11 * test ucwords() with different string prepared using heredoc
14 echo "*** Testing ucwords() : usage variations ***\n";
62 // loop through $heredoc_strings element and check the working on ucwords()
66 var_dump( ucwords($heredoc_strings[$index]) );
73 *** Testing ucwords() : usage variations ***
/PHP-5.5/ext/xsl/tests/
H A Dxsltprocessor_registerPHPFunctions-array.phpt19 var_dump($proc->registerPHPFunctions(array('ucwords')));
H A Dxsltprocessor_registerPHPFunctions-string.phpt19 var_dump($proc->registerPHPFunctions('ucwords'));
H A Dxsltprocessor_registerPHPFunctions-array-notallowed.phpt24 Warning: XSLTProcessor::transformToXml(): Not allowed to call handler 'ucwords()' in %s on line %d
H A Dxsltprocessor_registerPHPFunctions-string-notallowed.phpt24 Warning: XSLTProcessor::transformToXml(): Not allowed to call handler 'ucwords()' in %s on line %d
H A Dxsltprocessor_registerPHPFunctions-null.phpt23 var_dump($proc->registerPHPFunctions('ucwords'));
H A Dxsltprocessor_registerPHPFunctions-string-multiple.phpt23 var_dump($proc->registerPHPFunctions('ucwords'));
H A Dxsltprocessor_registerPHPFunctions-array-multiple.phpt23 var_dump($proc->registerPHPFunctions(array('strpos', 'ucwords')));
/PHP-5.5/ext/standard/
H A Dphp_string.h57 PHP_FUNCTION(ucwords);
H A Dstring.c2763 PHP_FUNCTION(ucwords) argument
H A Dbasic_functions.c2787 PHP_FE(ucwords, arginfo_ucwords)
/PHP-5.5/
H A DNEWS1018 . Implemented FR #34407 (ucwords and Title Case). (Tjerk)

Completed in 80 milliseconds