PHP Convert Camel Case String to underscore
Use PHP to convert the camel case string into an underscore-separated or other character separated.
Example
- Make the string's first character lowercase.
- Replace the uppercase letters in the string with specified characters.
- Make the string lowercase.
Use it
Output: