title: PHP | parse error T_DOUBLE_ARROW
body: <p>Hi i'm learning some basic php, and i'm having some a parse error. It says that the error is located on line 8(if($book=>$find)). What is wrong with line 8?</p>
  
  <pre><code>function getPrice($find)
  {
      $books = array ("java"=&gt;299,"c"=&gt;348,"php"=&gt;267);
  
      foreach ($books as $book=&gt;$price)
      {
          if($book=&gt;$find)
          {
              return $price;
              break;
          }
      }
  }
  </code></pre>
  
  <p>thank you in advance :D</p>