<?php class MyClass { private function some($b){ return ($b * 3); } public function calc($a){ $c = $this->some($a) * 2; return $c; } } $test = new MyClass(); $saveValue = $test->calc(10); echo $saveValue;
You have javascript disabled. You will not be able to edit any code.