Which PHP function can be used to convert a string to lowercase?
- strtolower()
- toLowerCase()
- strLower()
- convertToLower()
To convert a string to lowercase in PHP, you use the strtolower() function. It's a built-in function that does this conversion.
Loading...
Related Quiz
- You want to check if a certain constant has been defined in your PHP script. How would you do this?
- Which keyword is used to execute a block of code regardless of whether an exception was thrown?
- Which of the following are true about the default keyword in a PHP switch statement?
- In a scenario where you have a form with multiple checkboxes having the same name, how are the values sent to the PHP server?
- Will a comparison of an integer and a string "" work in PHP?