note 48945 deleted from language.oop5.visibility by tularis
| From: | tularis@php.net | Date: | Wed, 12 Jan 2005 18:51:09 +0000 |
| Subject: | note 48945 deleted from language.oop5.visibility by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83164@lists.php.net to get a copy of this message | ||
Note Submitter: zimba dot tm at gmail dot com
----
Here is a nice language feature that doesn't seem to be documented.
You can do:
<?php
class MyClass {
public
$var1,
$var2,
$var3;
private
$var4,
$var5;
protected
$var6;
// etc...
}
?>
I think it adds to readability ;)