php global范例
2020-12-13 02:26
标签:style class code ext color c Example #1 $GLOBALS 范例 echo 以上例程的输出类似于: php global范例,搜素材,soscw.com php global范例 标签:style class code ext color c 原文地址:http://www.cnblogs.com/timelesszhuang/p/3718300.htmlfunction test() {
$foo = "local variable";
echo ‘$foo in current scope: ‘ . $foo . "\n";
}$foo = "Example content";
test();
?>$foo in global scope: Example content
$foo in current scope: local variable
上一篇:抓取网页时,乱码问题
下一篇:HTML DOM