Added PU test for invalid MODATTRs (refs #3837)
Check enum's phpfunc redefinition in MODATTR lines (refs #3837)