note 111735 added to keyword.class
| From: | anthonymccuen at yahoo dot com | Date: | Fri, 22 Mar 2013 03:57:52 +0000 |
| Subject: | note 111735 added to keyword.class | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194171@lists.php.net to get a copy of this message | ||
You can also use "var" to declare multiple public instance variables like in C:
int main(int *argc, const char *argv[]) {
int a, b, c, d, e, f;
a = 50;
// blah blah blah code here
// ...
return 0;
}
Same as PHP:
<?php
class MyClass {
var $myvar, $anotherVar, $something, $str;
}
?>
----
Server IP: 92.48.119.85
Probable Submitter: 68.34.246.221
----
Manual Page -- http://php.net/manual/en/keyword.class.php
Edit -- https://master.php.net/note/edit/111735
Del: integrated -- https://master.php.net/note/delete/111735/integrated
Del: useless -- https://master.php.net/note/delete/111735/useless
Del: bad code -- https://master.php.net/note/delete/111735/bad+code
Del: spam -- https://master.php.net/note/delete/111735/spam
Del: non-english -- https://master.php.net/note/delete/111735/non-english
Del: in docs -- https://master.php.net/note/delete/111735/in+docs
Del: other reasons-- https://master.php.net/note/delete/111735
Reject -- https://master.php.net/note/reject/111735
Search -- https://master.php.net/manage/user-notes.php