Which of the following is used in PHP to output one or more strings?
- echo
- printf
- display
In PHP, the echo statement is used to output one or more strings. It can be used to display strings directly or concatenate multiple strings together. The echo statement is often used for simple outputting purposes in PHP. Learn more: https://www.php.net/manual/en/function.echo.php
Loading...
Related Quiz
- What are the differences between an abstract class and a regular class in PHP?
- When is the elseif statement used in PHP?
- Once a constant is defined in PHP, it ______ be changed during the execution of the script.
- What does the function get_magic_quotes_gpc() mean?
- What function do you use in PHP to load an XML document into a DOM object?