Skip to content

Commit

Permalink
Merge pull request walu#112 from rryqszq4/master
Browse files Browse the repository at this point in the history
错别字?
  • Loading branch information
walu authored Oct 20, 2016
2 parents f406e00 + ff5dfbd commit 9edb1af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 1.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
## 线程安全与非线程安全

在一个没有线程的程序中,我们往往倾向于把全局变量声明在源文件的顶部,
编辑器会自动的为它分配资源供我们在声明语句之下的程序逻辑中使用
编译器会自动的为它分配资源供我们在声明语句之下的程序逻辑中使用

**(即使通过fork()出一个子进程,它也会重新申请一段内存,父子进程中的变量从此没有了任何联系)**

Expand Down
4 changes: 2 additions & 2 deletions 10.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class myclass
echo "我是public类型的方法\n";
}

public function private_method()
private function private_method()
{
echo "我是private类型的方法\n";
}

public function protected_method()
protected function protected_method()
{
echo "我是protected类型的方法\n";
}
Expand Down

0 comments on commit 9edb1af

Please sign in to comment.