how to name variable in php camelcase code example Example: php function to convert string to camelcase echo ucwords("hello world");