PHP Quiz (Set 8)

PHP (Set 8)

1 / 10

Which PHP function is used to sort an array in ascending order?

2 / 10

What is the purpose of the 'array_merge()' function in PHP?

3 / 10

What does the 'session_destroy()' function do in PHP?

4 / 10

What is the purpose of the 'date()' function in PHP?

5 / 10

What is the purpose of the 'strtoupper()' function in PHP?

6 / 10

What is the purpose of the 'substr()' function in PHP?

7 / 10

Which of the following is an example of an associative array in PHP?

8 / 10

What is the purpose of the 'file_get_contents()' function in PHP?

9 / 10

Which PHP function is used to include the contents of a PHP file?

10 / 10

What is the purpose of the '$_GET' superglobal in PHP?

Your score is

The average score is 0%

0%