PHP Quiz

Answer 10 questions and see how you score!

1. Which function formats a number with grouped thousands?

2. What does empty("0") return?

3. Which function is used to free memory allocated to variables?

4. Which function converts a string to binary-safe format?

5. Which function retrieves information about the current script?

6. Which PHP function registers a function to be executed on script shutdown?

7. Which keyword is used to inherit a class in PHP?

8. Which function removes a variable?

9. What will echo (bool)"0"; output?

10. Which operator is used for spaceship comparison?