<?php class Add { function addition($a, $b) { return $a + $b; } } $obj = new Add(); echo $obj->addition(1, 2); ?>
No comments:
Post a Comment