"; echo "Variable x is: $x"; echo ""; echo "Variable y is: $y"; } myTest(); echo "
Test variables outside the function:
"; echo "Variable x is: $x"; echo ""; echo "Variable y is: $y";