<?php error_reporting(0); class a { function b($var) { return $var . 'x'; } } $teste = new a(); echo $this->b('oi');
You have javascript disabled. You will not be able to edit any code.