--TEST-- "ucfirst()" function --INI-- precision=14 --FILE-- --EXPECTF-- #### Basic and Various operations #### string(16) "Testing ucfirst." string(17) "1.testing ucfirst" string(11) "HELLO wORLD" string(11) "HELLO wORLD" string(1) "%0" string(1) "%0" string(2) "%00" string(4) "Abcd" string(3) "Xyz" string(2) "-3" string(2) "-3" string(6) "-3.344" string(6) "-3.344" string(4) "NULL" string(1) "0" string(1) "0" string(1) "1" string(4) "TRUE" string(1) "1" string(1) "1" string(8) "1.234444" string(0) "" string(5) "FALSE" string(1) " " string(5) " " string(1) "B" string(2) "\t" string(1) " " string(2) "12" string(8) "12twelve" #### Testing miscellaneous inputs #### --- Testing objects --- string(12) "Hello, world" --- Testing a longer and heredoc string --- string(639) "Abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789 @#$%^&**&^%$#@!~:())))((((&&&**%$###@@@!!!~~~~@###$%^&* abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz0123456789" --- Testing a heredoc null string --- string(0) "" --- Testing simple and complex syntax strings --- string(5) "World" string(7) "World'S" Warning: Undefined variable $strS in %s on line %d string(0) "" string(6) "WorldS" string(6) "WorldS" --- Nested ucfirst() --- string(5) "Hello" Done