title: Valid function showing unvalid
body: <p>In phpstorm php 7.4 I am using the following function below, it seems to function as it should but I get the following EA error in console on line 551</p>
  <p>[EA] The IV generated can be false, please add necessary checks.</p>
  <p>[EA] Use 2nd parameter for determining if the algorithm used was cryptographically strong.</p>
  <pre><code>  function _token()
      {
          $random_token = base64_encode(openssl_random_pseudo_bytes(32));
          return $_SESSION['token'] = $random_token;
      }
  </code></pre>
  <p>This is line 551</p>
  <pre><code>$random_token = base64_encode(openssl_random_pseudo_bytes(32));
  </code></pre>
  <p>This is highlighted red</p>
  <pre><code>openssl_random_pseudo_bytes
  </code></pre>