PHP Intermediate — Hard
Key points
- Closures do not automatically inherit parent scope variables.
- The 'use' keyword imports variables from the parent scope.
- Default inheritance is by value, not by reference.
Ready to go further?
Related questions
PHP Intermediate — Hard
Key points
Ready to go further?
Related questions