ADD/CHG copyright notices
CHG/ADD: phpdoc
FIX: php errors