added comments, type of variables in phpari