title: Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ')'
body: <p><a href="https://i.stack.imgur.com/KOqmF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KOqmF.png" alt="enter image description here"></a></p>
  
  <p>This is php script code</p>
  
  <pre><code>/*14*/ while($row=mysqli_fetch_array($result))
  /*15*/ {
  /*16*/     array_push($response,array("id"-&gt;$row["id"],"title"-&gt;$row["title"]));
  /*17*/ }
  </code></pre>
  
  <p>and i have an error showing</p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ')' in get_info.php on line 16</p>
  </blockquote>
  
  <p>I can't find what syntax error is. All my braces are closed, I don't know what is the error in this <code>'-&gt;'</code>  </p>