Question Bank
3705 approved questions from the community
Which of the following are core functions of PHP? (Select all that apply)
Which of the following are valid PHP variable scopes? (Select all that apply)
Which of the following are core data types in PHP? (Select all that apply)
Which of the following are valid ways to redirect output when running PHP from the command line? (Select all that apply)
Which command-line option allows you to run a single PHP command without a script file?
Which PHP setting controls whether errors are logged to a file?
What does CSRF stand for in web security?
How can you exclude deprecation notices while reporting all other error types?
What command-line option displays the PHP version?
What is the third parameter of the define() function used for?
Which error type in PHP suggests updates to code for better interoperability?
Which function can be used to configure session cookie parameters for security?
In PHP 7/8, what do anonymous functions automatically capture from the outer scope?
What setting controls the maximum lifetime of a session in PHP?
Which PHP function should be used for strict email validation with Unicode support?
Which function family handles application output buffering in PHP?
What does PHP compile requested files into during the pre-processing stage?
What notation was introduced in PHP 7.1 to indicate that a function can return either the specified type or null?
What does htmlspecialchars() convert '<' to?
Which superglobal is a combination of $_GET, $_POST, and $_COOKIE?