The ______ statement in PHP is not actually a function, so you can use it without parentheses.
- echo
- printf
- display
The print statement in PHP is not actually a function, so you can use it without parentheses. It is a language construct rather than a function. This allows you to use it like a statement without the need for parentheses. However, if you choose to use parentheses with print, it will still work without any issues. Learn more: https://www.php.net/manual/en/function.print.php
Loading...
Related Quiz
- In PHP, an associative array is an array with ______ keys.
- What are some differences between using PHP with MySQL versus other database systems?
- The default keyword in a PHP switch statement is optional.
- To access data from the $_GET superglobal in PHP, you can use $_GET['parameter'] where 'parameter' is the name of the ______ you wish to access.
- You need to access information about the server in your PHP script. How would you do this using a superglobal?