tryphp_var_global.php:

Variable x inside function is:

Variable x outside function is: 5