PHP Quiz

Answer 10 questions and see how you score!

1. Which function checks if a variable is empty?

2. Which magic method is invoked when calling an inaccessible method?

3. What is the output of: echo strlen("");

4. Which function removes a variable?

5. Which function outputs text in PHP?

6. Which function removes HTML tags from a string?

7. Which function retrieves all declared classes?

8. Which function returns the current working directory?

9. Which function determines if garbage collection is enabled?

10. What is the output of: echo 10 <=> 20;