mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
cannot use var with other visibility keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311569 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
654099b8c6
commit
84fee8e038
1 changed files with 2 additions and 3 deletions
|
@ -17,9 +17,8 @@
|
|||
<title>Property Visibility</title>
|
||||
<para>
|
||||
Class properties must be defined as public, private, or
|
||||
protected. If declared using <emphasis>var</emphasis> without an
|
||||
explicit visibility keyword, the property will be defined as
|
||||
public.
|
||||
protected. If declared using <emphasis>var</emphasis>,
|
||||
the property will be defined as public.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue