Fixing Strict Errors in PHP5.5