1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

Private members don't have to be functions.

This commit is contained in:
Jon Parise
2001-07-18 00:27:15 +00:00
parent be10830fda
commit dc5e76ec57
+5 -4
View File
@@ -129,11 +129,12 @@ and each letter that starts a new "word" is capitalized. Some examples:
connect() getData() buildSomeWidget()
Private methods (meaning methods that an intented to be called only from
within the same class; PHP does not yet support truly-enforceable private
namespaces) are preceeded by a single underscore. For example:
Private class members (meaning class members that an intented to be used
only from within the same class in which they are declared; PHP does not yet
support truly-enforceable private namespaces) are preceeded by a single
underscore. For example:
_sort() _initTree() _validateInput()
_sort() _initTree() $_status
------------