In PHP, a string can contain letters, numbers, and special characters.
- TRUE
- FALSE
This statement is true. In PHP, a string can contain letters, numbers, special characters, and even control characters. It is a versatile data type used for storing and manipulating text or sequences of characters. Strings can be enclosed in single quotes (''), double quotes ("") or heredoc/nowdoc syntax. Learn more: https://www.php.net/manual/en/language.types.string.php
Loading...
Related Quiz
- How is it possible to know the number of rows returned in the result set?
- You need to check if a function has been defined in your PHP script. How would you do this?
- PHP can only be installed on a Linux operating system.
- Explain the concept of anonymous functions (closures) in PHP. How are they used and what are their advantages?
- Which PHP function can be used to check if a function has been defined?