Refs  #6224 check for HHVM first to avoid it picked up by the isValidPhpType call @voidswitch Does this fix the issue for you?