title: Why is if(empty(strlen(trim($_POST['name'])))) invalid?
body: <p>I have a if statement check to see if a string is empty</p>
  
  <pre><code>if(empty(strlen(trim($_POST['name'])))){
      $error_empty = true;
  }
  </code></pre>
  
  <p>gives me this error: </p>
  
  <blockquote>
    <p><strong>Fatal error:</strong> Can't use function return value in write context in <strong>C:\xampp\htdocs\requestaccess\index.php</strong> on line 51</p>
  </blockquote>