PHP Classes

it gives following error Parse error: syntax error, unexpecte...

Recommend this page to a friend!

      Google Custom Search  >  All threads  >  it gives following error Parse...  >  (Un) Subscribe thread alerts  
Subject:it gives following error Parse...
Summary:Package rating comment
Messages:2
Author:iub
Date:2012-02-01 07:56:16
Update:2012-02-08 10:54:04
 

 

iub rated this package as follows:

Utility: Not sure
Consistency: Not sure
Examples: Not sure

  1. it gives following error Parse...   Reply   Report abuse  
Picture of iub iub - 2012-02-01 07:56:16
it gives following error
Parse error: syntax error, unexpected T_TRY, expecting ',' or ';' in D:\xampp\htdocs\phpclassess\examples.php on line 4

  2. Re: it gives following error Parse...   Reply   Report abuse  
Picture of Ti Ju Ti Ju - 2012-02-08 10:54:06 - In reply to message 1 from iub
Please add a semicolon at the end of line 3 in examples.php:

<?php
use Search\Google,
Search\Google\Exceptions;