在class的function中include的文件中,非php的global全局环境
测试代码1.php<?php$g1 = 'g1';class c{ function fun() { include('2.php'); echo "\n-----in class fun---\n"; global $g1; var_dump("\$g1 => ", $g1 ,'$g2 => ', $g2 ,'$gg2 => ', $gg2 ); ec