get dan set

Run Settings
LanguagePHP
Language Version
Run Command
<?php class burung { public $makan; public $jenis; public function set_makan($foods){ $this->makan=$foods; } public function get_makan(){ return $this->makan; } } $pipit = new burung; $pipit->set_makan('padi'); echo "makan nya " . $pipit->get_makan();
Editor Settings
Theme
Key bindings
Full width
Lines