Je moet ingelogd zijn om te stemmen.
<?php class vinTage { public $age = 0; private $_mem = array (); public function __construct ($age) { $this->age = (int) $age; $return = ''; for ($i = 0; $i < $this->age; $i++) { $this->_mem[] = 'vinTage is ' . $i . ' jaar oud...'; } return true; } public function get_mem () { return implode ("\n", $this->_mem); } } ?>
<?phpclass vinTage{ public $age = 0; private $_mem = array (); public function __construct ($age) { $this->age = (int) $age; $return = ''; for ($i = 0; $i < $this->age; $i++) { $this->_mem[] = 'vinTage is ' . $i . ' jaar oud...'; } return true; } public function get_mem () { return implode ("\n", $this->_mem); }}?>