php培训讲师 | 五月 7, 2010 | Leave your comment
1、global用在函数内,仅起到引用外部变量的作用。 2、$GLOBALS定的变量才是真正意义的全局变量,在什么环境下都能用。
php中glabal与$GLOBALS的区别 was posted on 五月 7, 2010 at 9:29 上午 in 互联网应用 and tagged as php $GLOBALS, php global, php学习笔记. It was last modified on 五月 7, 2010 at 9:29 上午. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response or trackback from your site.
Share on Twitter, Facebook, Delicious, Digg, Reddit
Your email will not be published or shared. Required fields are marked *
名称 *
电子邮件 *
网站
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">
反垃圾验证码(必填)* 请输入图片中的字符以验证你并非垃圾机器人. 点击图片收听验证码的语音版.