php dynamic function parameters code example
Example: php dynamic function call
public function view_all($building_post_id, $member_id = array());
//
$this->view_all($building_post_id); // CORRECT, no need pass default params
$this->view_all($building_post_id, 12); // CORRECT, pass default params