title: How I see the result of a function in PhpStorm
body: <p>I have PHP code like these:</p>
  
  <pre><code>$q = $conn-&gt;prepare("select * from worker");
  $q-&gt;execute();
  
  $result = $q-&gt;fetchAll();
  echo json_encode($result);
  </code></pre>
  
  <p>How I can see the json result of the $result variable in PhpStorm?</p>
  
  <p>BTW, I know how to add break point and stop at the line I want I just don't know how to read the value returned from <code>json_encode</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/Se1sE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Se1sE.jpg" alt="enter image description here"></a></p>