From: Jeroen De Dauw Date: Sun, 29 Jan 2012 05:37:49 +0000 (+0000) Subject: this is no longer a guideline afaik X-Git-Tag: 1.31.0-rc.0~25034 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=95bbe12c68c6f49504ac2e82d9344411c3ebebe2;p=lhc%2Fweb%2Fwiklou.git this is no longer a guideline afaik --- diff --git a/docs/design.txt b/docs/design.txt index 192e8c6aca..f95ef0f6bf 100644 --- a/docs/design.txt +++ b/docs/design.txt @@ -89,10 +89,6 @@ Naming/coding conventions: things will break. New code should use the standard method of setting visibilities as normal. - - Member variables are generally "mXxx" to distinguish them. This should make - it easier to spot errors of forgetting the required "$this->", which PHP - will happily accept by creating a new local variable rather than complaining. - - Globals are particularly evil in PHP; it sets a lot of them automatically from cookies, query strings, and such, leading to namespace conflicts; when a variable name is used in a function, it is silently declared as a new