Lines Matching refs:ucfirst
2 "ucfirst()" function
11 "testing ucfirst.",
12 "1.testing ucfirst",
44 /* loop to test working of ucfirst with different values */
46 var_dump( ucfirst($string) );
55 var_dump( ucfirst($str_arr) );
69 var_dump(ucfirst("$obj_string"));
81 var_dump(ucfirst($string1));
84 var_dump(ucfirst($string2));
102 var_dump(ucfirst($string));
107 var_dump(ucfirst($str));
114 var_dump(ucfirst("$str"));
115 var_dump(ucfirst("$str'S"));
116 var_dump(ucfirst("$strS"));
119 var_dump(ucfirst("${str}S"));
120 var_dump(ucfirst("{$str}S"));
122 echo "\n--- Nested ucfirst() ---\n";
123 var_dump(ucfirst(ucfirst("hello")));
128 ucfirst();
130 ucfirst($str_array[0], $str_array[1]);
131 ucfirst((int)10, (int)20);
139 string(16) "Testing ucfirst."
140 string(17) "1.testing ucfirst"
174 Warning: ucfirst() expects parameter 1 to be string, array given in %s on line %d
207 --- Nested ucfirst() ---
211 Warning: ucfirst() expects exactly 1 parameter, 0 given in %s on line %d
213 Warning: ucfirst() expects exactly 1 parameter, 2 given in %s on line %d
215 Warning: ucfirst() expects exactly 1 parameter, 2 given in %s on line %d