rileydutton / Exchange-Web-Services-for-PHP

A basic library for interacting with Exchange Web Services using PHP 5.
MIT License
91 stars 42 forks source link

unexpected T_OBJECT_OPERATOR when trying to connect #25

Open php-surfer opened 7 years ago

php-surfer commented 7 years ago

Apologies if this is a really simple problem but I have been trying to get this working for days and haven't been able to get past this hurdle. I have followed the setup instructions @ https://github.com/rileydutton/Exchange-Web-Services-for-PHP and when I run the test code on that page to send a simple email I get the below error

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in C:\inetpub\wwwroot_Includes\EWS\lib\ExchangeClient.php on line 583

Any ideas?