title: COUNTABLE ERROR
body: <pre><code>$info = json_decode(file_get_contents("php://input"));
  if (count($info) &gt; 0)
  </code></pre>
  
  <p>this is a line of code in my website proj. then the error is</p>
  
  <blockquote>
    <p>count(): parameter must be an array or an object that implements
    countable in</p>
  </blockquote>