| 1 | What are arrow functions introduced in PHP 7.4, and how do they simplify writing short closures compared to traditional anonymous functions? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Intermediate |
| 2 | What is an anonymous function in PHP, and how does it differ from a regular named function? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Beginner |
| 3 | What is the use keyword in a PHP closure, and why is it needed to access outside variables from within an anonymous function? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Beginner |
| 4 | How can closures be used to implement simple dependency injection or callback based customization within a class? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Intermediate |
| 5 | How do first class callable syntax and higher order functions in modern PHP support building flexible, composable, functional style code? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Advanced |
| 6 | How does passing a variable by reference into a closure's use clause differ from the default pass by value behavior? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Intermediate |
| 7 | How does binding a closure to a specific object or class using bindTo or Closure::bind allow it to access private properties and methods it otherwise could not? PHP › Closures & Anonymous Functions | PHP | Closures & Anonymous Functions | Advanced |
| 8 | How do you define and call a basic function in PHP, and what are function parameters and return values? PHP › Functions & Scope | PHP | Functions & Scope | Beginner |
| 9 | What is variable scope in PHP, and why can't a function normally access a variable defined outside of it? PHP › Functions & Scope | PHP | Functions & Scope | Beginner |
| 10 | What is ReactPHP and how does its event loop enable non blocking, asynchronous behavior in standard PHP? PHP › Asynchronous PHP (ReactPHP & Swoole) | PHP | Asynchronous PHP (ReactPHP & Swoole) | Beginner |
| 11 | How do array_map, array_filter, and array_reduce help you transform and process array data without writing manual loops? PHP › Arrays in PHP | PHP | Arrays in PHP | Intermediate |
| 12 | How can a generator receive values sent into it during iteration using the send method, enabling two way communication with the calling code? PHP › Generators & Iterators | PHP | Generators & Iterators | Intermediate |
| 13 | What does the __invoke magic method do, and how does it let you use an object instance directly as if it were a function? PHP › Magic Methods | PHP | Magic Methods | Intermediate |