In PHP, if you want to access a global variable inside a function, you need to use the "global" keyword.
In Python, you can use global variables in a function by declaring the variable as global within the function.