Pasta: 91d31040226e647789eddb9530e76aaa092fae11 (2017-10-27)

Język: Text
Adres: p43.pl/p,91d31040226e647789eddb9530e76aaa092fae11
Ilość linii: 17
Rozmiar: 0.37 kB
Wyświetleń: 145
Ostatnio użyto: 2018-04-20 02:08:51
class Birthday { private $_name; function __construct($name) { $this->_name = $name; } public function giveWishes(){ for($i = 1; $i <= 100 ; $i++){ echo "STO LAT ".$this->_name."\r\n"; } } } $birthday = new Birthday("Kruczek"); $birthday->giveWishes();