title: Is there any difference between !!$var and (bool) $var?
body: <p>Is there any differences between using <code>!!</code> or <code>(bool)</code> operators when you want to cast data types?</p>
  
  <pre><code>    $number = 1;
  
      var_dump( (bool) $number ) //true
      var_dump( !! $number ) //true
  </code></pre>