source <?php //1つ前のサンプルと比較すること! //カンマの扱いに注意 $a = 10; $b = 33; Function test() { $a = "得点"; echo $a,$GLOBALS["b"]; } test(); ?>