Question Bank

1899 approved questions from the community

Which of the following are steps in the DHCP process? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
Network
by Mohamed

PHP settings can be modified at runtime using the ini_set() function.

MEDIUM
TRUE FALSE
25s
PHP
by Mohamed

What is the spaceship operator in PHP 7/8?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What is the null coalescing operator introduced in PHP 7?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

The iterable type hint was introduced in PHP 7.1 for any data type that can be looped via foreach.

MEDIUM
TRUE FALSE
25s
PHP
by Mohamed

PHP 7/8 supports scalar type declarations with strict typing mode.

MEDIUM
TRUE FALSE
25s
PHP
by Mohamed

How can you enable all types of error reporting in PHP?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What keyword is used to declare a variable that retains its value between function calls?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

Which PHP configuration setting controls whether errors are displayed on screen?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

Which superglobal is a combination of $_GET, $_POST, and $_COOKIE?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

Which command-line option allows you to run a single PHP command without a script file?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What function should be used to convert special characters to HTML entities to prevent XSS attacks?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

Which error type in PHP suggests updates to code for better interoperability?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

Which PHP setting controls whether errors are logged to a file?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What command-line option displays PHP configuration information?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What happens during the Bootstrap stage of a PHP request?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What notation was introduced in PHP 7.1 to indicate that a function can return either the specified type or null?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

Which function family handles application output buffering in PHP?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

Which function can be used to configure session cookie parameters for security?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed

What does the strip_tags() function do in PHP?

MEDIUM
SINGLE CHOICE
30s
PHP
by Mohamed
PreviousPage 27 of 95Next