• Hi,

    I was asked by my employer to review your code to decide whether we recommend it to our clients and two things caught my attention:

    1. Unquoted array indexes: You have several unquoted array indexes across several files. These tend to raise E_NOTICE errors and also cause some PHP overhead as it looks for constants before assuming the literal index.
    2. New lines after closing PHP tags: Please remove the newlines after the closing PHP tags. Actually, it’s even better if you remove the closing PHP tag altogether.

    Otherwise the code looks good.

    Thanks,
    Vinny

    https://www.ads-software.com/plugins/mailchimp-form/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Syntax issues’ is closed to new replies.