global $a, $b; // allows access to vars outside of function. 5. $b = $a + $b;. 6. } 7. . 8. Sum();. 9. echo $b; // output is 3. php globals.
確定! 回上一頁