Which type of variable is strictly local to the function scope and cannot access global variables directly?

PHP Intermediate Hard

PHP Intermediate — Hard

Which type of variable is strictly local to the function scope and cannot access global variables directly?

Key points

  • Local scope isolation
  • Global keyword requirement for global access
  • Static variables persist across function calls

Ready to go further?

Related questions