syntax error, unexpected ‘′’ (T_STRING) PHP

I am getting the following error while running PHP a script:

Symfony  Component  Debug  Exception  FatalErrorException
syntax error, unexpected '′' (T_STRING)

. SymfonyComponentDebugExceptionFatalErrorException

    Route::any(‘check/purchase-code’, function() {if ($code = Input::get(‘code’)) {ini_set(‘user_agent’, ‘Mozilla/5.0′);$result = “”;if ($result = 1) {Session::put(‘valid-usage’,’1′);return Redirect::route(‘install-db-info’);}}return Redirect::to(‘/install’);});
Route::filter(‘user-auth’, function()

Source: syntax

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.