English

A variable declared ___________ a function has global scope.

Advertisements

Question

A variable declared ___________ a function has global scope.

Options

  • outside

  • anywhere

  • inside

  • none

MCQ
Fill in the Blanks
Advertisements

Solution

A variable declared outside a function has global scope.

shaalaa.com
PHP Variables
  Is there an error in this question or solution?
Chapter 5: Server-Side Scripting (PHP) - Exercises [Page 78]
Advertisements
Share
Notifications



      Forgot password?
Use app×