every array item will be first character uppercase php code example Example: php function to convert string to camelcase echo ucwords("hello world");