Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pangudashu committed Jul 26, 2017
1 parent 337ab9c commit cec1807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2/global_var.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ global $id; // 相当于:$id = & EG(symbol_table)["id"];
![](../img/zend_global_ref.png)

### 2.4.3 超全局变量
全部变量除了通过global引入外还有一类特殊的类型,它们不需要使用global引入而可以直接使用,这些全局变量称为:超全局变量。
全局变量除了通过global引入外还有一类特殊的类型,它们不需要使用global引入而可以直接使用,这些全局变量称为:超全局变量。

超全局变量实际是PHP内核定义的一些全局变量:$GLOBALS、$_SERVER、$_REQUEST、$_POST、$_GET、$_FILES、$_ENV、$_COOKIE、$_SESSION、argv、argc。

Expand Down

0 comments on commit cec1807

Please sign in to comment.