This example shows a global variable $counter initialized to 0. Two calls to the function increment() increase $counter by 1 each time using the global keyword. The execution table traces each step: starting at 0, after first increment it becomes 1, after second increment it becomes 2, and finally the program prints 2. The variable tracker shows $counter changing from 0 to 2 across calls. Beginners often get confused because changes in one function affect the global state seen by others, making bugs hard to find. The quiz asks about $counter values at different steps and what happens if the global keyword is removed. The key lesson is that global state is dangerous because it can be changed anywhere, causing unpredictable behavior and making debugging difficult.