I am just learning how to use PHPMailer. I have not touched anything on any of the PHPMailer files. I am using php 5.2.17 I am surprised to get this error:
Parse error: syntax error, unexpected T_FUNCTION in /home/content/33/3333333/html/folder/folder2/PHPMailer/class.phpmailer.php on line 3042
I assumed that this would be something common and I would find another person who had the same issue. Only I do not see anyone with the same error and line as this.
I could post my code, but the error comes before any of my code is run. Meaning the php file starts with:
date_default_timezone_set('America/Los_Angeles'); require 'PHPMailer/PHPMailerAutoload.php';
The error is found before any of my code is run.