i\'m confused about the php variable scope. such as:
while(true){ $var = \"yes , it is a test!\"; } printf($var)
the $var
$var
In PHP, a while loop doesn't create a new scope. So it will be available in the function