A variable declared in a function is considered local, it can only be accessed within that function is called Local Variable
$x inside function is 0. $x outside of function is 4.