Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.41K
~4K People Reached
Favorite Forums
Favorite Tags
php x 1
Member Avatar for ryy705

Hello, How can I declare an array as a class variable? For example I can do: [CODE] <?php class test { private $name = 'john'; public function getName() { return $this->name; } } ?> [/CODE] But how can I make the following work? [CODE] <?php class test { private $name …

Member Avatar for pritaeas
0
4K