Skip to content

Commit

Permalink
Update manual.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lartu committed Sep 6, 2024
1 parent c869f93 commit f2544dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ print($foo); # Will print 100

The `global` statement can also be used to declare global variables from within functions.

There’s no need to use `global` to read values from global variables. As long as a variable with the same name doesn’t exist in the local scope of the function, accessing that variable will return the value stored in the global variable without any shadowing.

## 4.2 – Unsafe Variables

## 4.3 – Magic Variables
Expand Down

0 comments on commit f2544dd

Please sign in to comment.