<?php class Fruits { public $fruits = 'grape '; public function output_fruits_name() { return 'lemon '; } function test() { echo $this->fruits; echo $this->output_fruits_name() ; } } ?>
You have javascript disabled. You will not be able to edit any code.