Quiz 4
1. Which framework is the standard for unit testing in PHP?
2. How do you define a 'variadic' function?
3. What is Constructor Property Promotion?
4. What is the benefit of 'Named Arguments' in PHP 8.0?
5. What are 'Enums' used for in PHP 8.1?
6. What is 'Fiber' in PHP 8.1?
7. What is an Intersection Type (e.g., Iterator&Countable)?
8. Which magic methods are modern replacements for the Serializable interface?
9. What is a key difference of 'Arrow Functions' (fn =>) compared to 'function()'?
10. How did PHP 8.0 change the comparison '0 == "foobar"'?
Previous Next