Parse error: syntax error, unexpected '$author' (T_VARIABLE) : <p>my php file:</p>

<pre><code>    if($operation=='upload'){
    if(isset($data -&gt; paper) &amp;&amp; !empty($data -&gt; paper) &amp;&amp; isset($data -&gt; paper -&gt; author) &amp;&amp; isset($data -&gt; paper -&gt; description) &amp;&amp; isset($data -&gt; paper -&gt; title))｛

      $author = $data -&gt; paper -&gt; author;
      $description= $data -&gt; paper -&gt; description;
      $title = $data -&gt; paper -&gt; title;

      echo $fun -&gt; uploadPaper($author,$description,$title);
    ｝
</code></pre>

<p>json</p>

<pre><code>  {
   "operation": "upload",
   "paper": {
    "author": "Mark Watson",
    "description": "The book writing about AI by Mark Waton",
    "title": "Practical Artificial Intelligence Programming With Java"
}
}
</code></pre>

<p>when i send json to server by post method,there is a error:</p>

<p>Parse error: syntax error, unexpected '$author' (T_VARIABLE) in D:\xampp\htdocs\server\index.php on line 78</p>

<p>i really don't know what is happening!please  tell me</p>
